Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Stroika::Foundation::Common::explicitly_convertible_to Concept Reference

like convertible_to, but also handling cases where T has an explict CTOR taking From More...

#include <Concepts.h>

Concept definition

template<class FROM, class TO>
concept Stroika::Foundation::Common::explicitly_convertible_to = requires { static_cast<TO> (std::declval<FROM> ()); }
like convertible_to, but also handling cases where T has an explict CTOR taking From
Definition Concepts.h:223

Detailed Description

like convertible_to, but also handling cases where T has an explict CTOR taking From

See also
https://stackoverflow.com/questions/76547398/stdconvertible-to-failing-to-recognize-explicitly-convertible-types

Definition at line 223 of file Concepts.h.