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

Type trait to check if a type T is an inserter iterator (e.g., std::back_inserter). More...

#include <type_traits.h>

Inheritance diagram for qb::is_inserter< T, U >:
Collaboration diagram for qb::is_inserter< T, U >:

Detailed Description

template<typename T, typename U = Void<>>
struct qb::is_inserter< T, U >

Type trait to check if a type T is an inserter iterator (e.g., std::back_inserter).

Checks for the presence of a nested container_type.

Template Parameters
TThe type to check.
USFINAE helper.
Returns
std::true_type if T is an inserter, std::false_type otherwise.