Support Class Library
A set of tools providing classes and utility
Public Member Functions | List of all members
scl::concepts::ConvertibleTo< From, To > Struct Template Reference

Conversion concept, a type From is convertible to another type To if meta::is_convertible<From, To>() is true. More...

#include "ConvertibleTo.h"

Public Member Functions

constexpr operator bool () const
 

Detailed Description

template<class From, class To>
struct scl::concepts::ConvertibleTo< From, To >

Conversion concept, a type From is convertible to another type To if meta::is_convertible<From, To>() is true.

Template Parameters
Frombeing the source type
Tobeing the destination type

Definition at line 13 of file ConvertibleTo.h.

Member Function Documentation

◆ operator bool()

template<class From , class To >
constexpr scl::concepts::ConvertibleTo< From, To >::operator bool ( ) const
inline

Definition at line 14 of file ConvertibleTo.h.


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