qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches
qb::is_map_iterator< T > Struct Template Reference

Type trait to check if an iterator T points to map elements (i.e., std::pair). More...

#include <type_traits.h>

Inheritance diagram for qb::is_map_iterator< T >:
Collaboration diagram for qb::is_map_iterator< T >:

Detailed Description

template<typename T>
struct qb::is_map_iterator< T >

Type trait to check if an iterator T points to map elements (i.e., std::pair).

Template Parameters
TThe iterator type to check.
Returns
std::true_type if iterator_type<T>::type is a std::pair, std::false_type otherwise.