NCBI C++ ToolKit
Classes | Static Public Member Functions | Static Public Attributes | List of all members
cxx_is_supported< TypeChecker, Type > Struct Template Reference

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
 

Detailed Description

template<template< typename > class TypeChecker, typename Type>
struct cxx_is_supported< TypeChecker, Type >

Helper template to check that type Type have some method declared using TypeChecker<Type>.

Examples
/home/coremake/doxygen/cxx/include/util/data_histogram.hpp.

Definition at line 262 of file ncbistl.hpp.


The documentation for this struct was generated from the following file:
Modified on Fri Sep 20 14:57:40 2024 by modify_doxy.py rev. 669887