|
micro-test-plus 6.0.0
µTest++ Testing Framework
|
Concept satisfied when T provides both begin() and end() member functions returning an iterator and its sentinel. More...
#include <extension.h>
| T | The type to be checked. |
The container_like concept is satisfied when T exposes both a begin() and an end() member function, as required by standard range-based iteration, and begin() returns a std::input_or_output_iterator for which end() returns a std::sentinel_for. The check is part of the concept, so a type whose begin() and end() return something else (void, for example) is not a container, instead of being a hard error where the element type is formed. It is used to detect the ranges that the formatter writes element by element (see formattable_range), and the ranges of values of test_each().
Definition at line 532 of file extension.h.