NCBI C++ ToolKit
|
Search Toolkit Book for cxx_is_supported
Helper template to check that type Type have some method declared using TypeChecker<Type>. More...
#include <corelib/ncbistl.hpp>
Classes | |
struct | not_supported |
struct | supported |
Static Public Member Functions | |
template<typename Type_ > | |
static supported | chk (typename std::decay< TypeChecker< Type_ >>::type *) |
template<typename Type_ > | |
static not_supported | chk (...) |
Static Public Attributes | |
static constexpr bool | value = std::is_same<decltype(chk<Type>(nullptr)), supported>::value |
Helper template to check that type Type have some method declared using TypeChecker<Type>.
Definition at line 262 of file ncbistl.hpp.