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

Type trait to check if a type T has an insert(T::const_iterator, T::value_type) member function. More...

#include <type_traits.h>

Inheritance diagram for qb::has_insert< T, typename >:
Collaboration diagram for qb::has_insert< T, typename >:

Detailed Description

template<typename T, typename = Void<>>
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.

Template Parameters
TThe type to check.
Returns
std::true_type if T has such an insert method, std::false_type otherwise.