Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Stroika::Foundation::Traversal::IIterable Concept Reference

#include <Iterable.h>

Concept definition

template<typename ITERABLE, template< typename > typename ITEM_PREDICATE Common::True>
concept Stroika::Foundation::Traversal::IIterable = ranges::range<ITERABLE> and ITEM_PREDICATE<ranges::range_value_t<ITERABLE>>::value

Detailed Description

IIterable concept: std::ranges::range and iterated over values satisfy argument predicate (if given)

Checks if argument is ranges::range and if the value of items iterated over ITEM_PREDICATE.

https://stackoverflow.com/questions/76532448/combining-concepts-in-c-via-parameter

Definition at line 81 of file Iterable.h.