souffle  2.0.2-371-g6315b36
Data Structures | Static Public Attributes | Static Private Member Functions
tinyformat::detail::is_convertible< T1, T2 > Struct Template Reference

#include <tinyformat.h>

Collaboration diagram for tinyformat::detail::is_convertible< T1, T2 >:
Collaboration graph

Data Structures

struct  fail
 
struct  succeed
 

Static Public Attributes

static const bool value
 

Static Private Member Functions

static const T1 & makeT1 ()
 
static fail tryConvert (...)
 
static succeed tryConvert (const T2 &)
 

Detailed Description

template<typename T1, typename T2>
struct tinyformat::detail::is_convertible< T1, T2 >

Definition at line 193 of file tinyformat.h.

Member Function Documentation

◆ makeT1()

template<typename T1 , typename T2 >
static const T1& tinyformat::detail::is_convertible< T1, T2 >::makeT1 ( )
staticprivate

◆ tryConvert() [1/2]

template<typename T1 , typename T2 >
static fail tinyformat::detail::is_convertible< T1, T2 >::tryConvert (   ...)
staticprivate

◆ tryConvert() [2/2]

template<typename T1 , typename T2 >
static succeed tinyformat::detail::is_convertible< T1, T2 >::tryConvert ( const T2 &  )
staticprivate

Field Documentation

◆ value

template<typename T1 , typename T2 >
const bool tinyformat::detail::is_convertible< T1, T2 >::value
static
Initial value:
=
sizeof(tryConvert(makeT1())) == sizeof(succeed)

Definition at line 214 of file tinyformat.h.


The documentation for this struct was generated from the following file:
tinyformat::detail::is_convertible::makeT1
static const T1 & makeT1()
tinyformat::detail::is_convertible::tryConvert
static fail tryConvert(...)