Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Stroika::Foundation::Common::ConvertibleTo< T > Struct Template Reference

#include <Concepts.h>

Detailed Description

template<typename T>
struct Stroika::Foundation::Common::ConvertibleTo< T >

Concepts let you construct a 'template' of one arg from one with two args, but class, and variable templates don't allow this; but this magic trick of double indirection does allow it. And cannot use concepts as template arguments to another template sadly, so need this trick...

The 'test' here just invokes convertible_to<TEST_ARGUMENT, T>

Definition at line 331 of file Concepts.h.


The documentation for this struct was generated from the following file: