src/Base/Has.hpp file

"Has-a" utilities for detecting class internals

Contents

"Has-a" utilities for detecting class internals

Namespaces

namespace tk
Toolkit declarations and definitions for general purpose utilities.

Classes

template<typename, typename = std::void_t<>>
struct tk::HasTypedef_alias
Detect if a type defines type 'alias'.
template<typename, typename = std::void_t<>>
struct tk::HasTypedef_i_am_tagged_tuple
Detect if a type defines type 'i_am_tagged_tuple'.
template<typename, typename = std::void_t<>>
struct tk::HasFunction_expect_description
Detect if a type defines function 'expect::description()'.
template<typename, typename = std::void_t<>>
struct tk::HasVar_expect_lower
Detect if a type defines variable 'expect::lower'.
template<typename, typename = std::void_t<>>
struct tk::HasVar_expect_upper
Detect if a type defines variable 'expect::upper'.
template<typename, typename = std::void_t<>>
struct tk::HasFunction_expect_choices
Detect if a type defines function 'expect::choices()'.