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

Classes

struct  SFINAE

Static Public Member Functions

template<typename U>
static char test (SFINAE< U, decltype(std::declval< const U & >().exchangeCode()), &U::exchangeCode > *)
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::hasExchangeCode< T >

Definition at line 68 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 & >().exchangeCode()), &U::exchangeCode > * )
static

Member Data Documentation

◆ value

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

Definition at line 73 of file Formatting.h.