OnixS C++ ICE Binary Order Entry Handler 1.0.0
API Documentation
Loading...
Searching...
No Matches
hasText< T > Struct Template Reference

Classes

struct  SFINAE

Static Public Member Functions

template<typename U>
static char test (SFINAE< U, decltype(std::declval< const U & >().text()), &U::text > *)
template<typename U>
static int test (...)

Static Public Attributes

static constexpr bool value = sizeof(test<T>(nullptr)) == sizeof(char)

Detailed Description

template<typename T>
struct OnixS::ICE::BOE::Messaging::details::hasText< T >

Definition at line 59 of file Formatting.h.

Member Function Documentation

◆ test() [1/2]

template<typename T>
template<typename U>
int test ( ...)
static

◆ test() [2/2]

template<typename T>
template<typename U>
char test ( SFINAE< U, decltype(std::declval< const U & >().text()), &U::text > * )
static

Member Data Documentation

◆ value

template<typename T>
bool value = sizeof(test<T>(nullptr)) == sizeof(char)
staticconstexpr

Definition at line 64 of file Formatting.h.