qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches
Type Traits & Metaprogramming

Advanced type traits and metaprogramming helpers. More...

Collaboration diagram for Type Traits & Metaprogramming:

Classes

struct  qb::crtp< T >
 Base class for implementing the Curiously Recurring Template Pattern (CRTP). More...
struct  qb::is_container< T >
 Type trait to check if a type T is a container. More...
struct  qb::remove_reference_if< T, cond >
 Conditionally removes a reference from type T if cond is true. More...
struct  qb::is_mappish< T >
 Type trait to check if a type T is map-like. More...
struct  qb::is_pair<... >
 Type trait to check if a type is a std::pair. More...
struct  qb::is_inserter< T, U >
 Type trait to check if a type T is an inserter iterator (e.g., std::back_inserter). More...
struct  qb::iterator_type< Iter, T >
 Type trait to extract the value_type from an iterator Iter. More...
struct  qb::is_terator< Iter, T >
 Type trait to check if a type Iter is an iterator. More...
struct  qb::is_map_iterator< T >
 Type trait to check if an iterator T points to map elements (i.e., std::pair). More...
struct  qb::has_push_back< T, typename >
 Type trait to check if a type T has a push_back(T::value_type) member function. More...
struct  qb::has_insert< T, typename >
 Type trait to check if a type T has an insert(T::const_iterator, T::value_type) member function. More...
struct  qb::is_sequence_container< T >
 Type trait to check if type T is a sequence container. More...
struct  qb::is_associative_container< T >
 Type trait to check if type T is an associative container. More...
struct  qb::nth_type< num, T >
 Metafunction for selecting the Nth type in a variadic template parameter pack. More...
struct  qb::indexes_tuple< Indexes >
 Represents a compile-time tuple of size_t indexes. More...
struct  qb::index_builder< num, tp >
 Generates a compile-time sequence of indices as an indexes_tuple. More...
struct  qb::expand
 Utility for forcing parameter pack expansion in certain contexts. More...

Typedefs

template<typename...>
using qb::Void = void
 Helper alias to void for SFINAE purposes.

Detailed Description

Advanced type traits and metaprogramming helpers.

Contains utilities from `qb/utility/type_traits.h`.

Typedef Documentation

◆ Void

template<typename...>
using qb::Void = void

Helper alias to void for SFINAE purposes.

Template Parameters
ArgsIgnored template parameters.

Used in std::enable_if and other SFINAE contexts to create a dependent void type.