mdds
Classes | Public Types | Static Public Member Functions | List of all members
mdds::mtv::detail::has_capacity_method< T > Struct Template Reference

Classes

struct  test_has_method
 

Public Types

using yes_type = char
 
using no_type = int
 
using type = std::conditional_t< sizeof(test< T >(0))==sizeof(yes_type), std::true_type, std::false_type >
 

Static Public Member Functions

template<typename U >
static yes_type test (test_has_method< U, &U::capacity > *)
 
template<typename U >
static no_type test (...)