Bitcoin Core 32.99.0
P2P Digital Currency
NotNullCopyConvertible Concept Reference

Concept definition

template<class Target, class Source>
concept NotNullCopyConvertible = requires {
typename std::bool_constant<([] {
util::NotNull<Source> copy_source{Source{}};
util::NotNull<Target>{copy_source};
return true;
}())>;
}
NotNull is intended to be used to denote that a smart pointer type can not hold a nullptr value.
Definition: not_null.h:45

Detailed Description

Definition at line 88 of file util_not_null_tests.cpp.