Qx v0.5.8
Qt Extensions Library
Loading...
Searching...
No Matches
Qx::traverseable Concept Reference

Specifies that a type is a valid type for Qx::Traverser. More...

Concept definition

template<class K>
concept Qx::traverseable = std::bidirectional_iterator<typename K::const_iterator> &&
std::is_default_constructible_v<K> &&
requires(K klass) {{ klass.size() } -> std::integral<>;}
Specifies that a type is a valid type for Qx::Traverser.
Definition qx-concepts.h:503

Detailed Description

Satisfied if K contains the type 'const_iterator' that satisfies std::bidirectional_iterator, is default constructable, and defines a member function 'size' that returns an integral type.