souffle  2.0.2-371-g6315b36
Static Public Member Functions
tinyformat::detail::convertToInt< T, convertible > Struct Template Reference

#include <tinyformat.h>

Collaboration diagram for tinyformat::detail::convertToInt< T, convertible >:
Collaboration graph

Static Public Member Functions

static int invoke (const T &)
 

Detailed Description

template<typename T, bool convertible = is_convertible<T,int>::value>
struct tinyformat::detail::convertToInt< T, convertible >

Definition at line 269 of file tinyformat.h.

Member Function Documentation

◆ invoke()

template<typename T , bool convertible = is_convertible<T,int>::value>
static int tinyformat::detail::convertToInt< T, convertible >::invoke ( const T &  )
inlinestatic

Definition at line 271 of file tinyformat.h.

272  {
273  TINYFORMAT_ERROR("tinyformat: Cannot convert from argument type to "
274  "integer for use as variable width or precision");
275  return 0;
276  }

References TINYFORMAT_ERROR.

Referenced by tinyformat::detail::FormatArg::toIntImpl().


The documentation for this struct was generated from the following file:
TINYFORMAT_ERROR
#define TINYFORMAT_ERROR(reason)
Definition: tinyformat.h:159