Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Static Public Attributes | Static Private Member Functions | List of all members
tinyformat::detail::is_convertible< T1, T2 > Struct Template Reference

#include <tinyformat.h>

Classes

struct  fail
 
struct  succeed
 

Static Public Attributes

static const bool value
 

Static Private Member Functions

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

Detailed Description

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

Definition at line 207 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

Member Data 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 228 of file tinyformat.h.


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