Rcpp Version 0.12.14
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 178 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 199 of file tinyformat.h.


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