Sygaldry
Loading...
Searching...
No Matches
sygaldry::strict_similar_to Concept Reference

Concept definition

template<typename T, typename Y>
concept sygaldry::strict_similar_to = requires (T t) { static_cast<Y>(t); }
&& requires (Y y) { T{y}; }
&& requires (T t, Y y) { t = y; }
&& requires (T a, T b, Y c) { a = b = c; }
Definition sygac-endpoints.hpp:39