open62541pp 0.16.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::detail::IsWrapper< T > Struct Template Reference

#include <wrapper.hpp>

Detailed Description

template<typename T>
struct opcua::detail::IsWrapper< T >

Definition at line 92 of file wrapper.hpp.

Public Types

using type = decltype(check(std::declval<T&>()))
 

Static Public Member Functions

template<typename U >
static std::true_type check (const Wrapper< U > &)
 
static std::false_type check (...)
 

Static Public Attributes

static constexpr bool value = type::value
 

Member Typedef Documentation

◆ type

template<typename T >
using opcua::detail::IsWrapper< T >::type = decltype(check(std::declval<T&>()))

Definition at line 98 of file wrapper.hpp.

Member Function Documentation

◆ check() [1/2]

template<typename T >
template<typename U >
static std::true_type opcua::detail::IsWrapper< T >::check ( const Wrapper< U > & )
static

◆ check() [2/2]

template<typename T >
static std::false_type opcua::detail::IsWrapper< T >::check ( ...)
static

Member Data Documentation

◆ value

template<typename T >
bool opcua::detail::IsWrapper< T >::value = type::value
staticconstexpr

Definition at line 99 of file wrapper.hpp.