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

Type trait to check if a type Iter is an iterator. More...

#include <type_traits.h>

Inheritance diagram for qb::is_terator< Iter, T >:
Collaboration diagram for qb::is_terator< Iter, T >:

Detailed Description

template<typename Iter, typename T = Void<>>
struct qb::is_terator< Iter, T >

Type trait to check if a type Iter is an iterator.

Checks for inserters or types with a valid std::iterator_traits<Iter>::value_type, excluding types convertible to std::string_view to avoid misclassifying strings.

Template Parameters
IterThe type to check.
TSFINAE helper.
Returns
std::true_type if Iter is considered an iterator, std::false_type otherwise.