container_like Concept
C++20 concept satisfied when T provides both begin() and end() member functions. More...
Definition
template <class T>
concept micro_os_plus::micro_test_plus::type_traits::container_like = requires (const T& t) {
t.begin ();
t.end ();
}
concept micro_os_plus::micro_test_plus::type_traits::container_like = requires (const T& t) {
t.begin ();
t.end ();
}
Description
C++20 concept satisfied when T provides both begin() and end() member functions.
- Template Parameters
-
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. It is used to detect container types for specialised comparison and reporting within the framework.
Definition at line 363 of file type-traits.h.
template<class T>
concept container_like = requires (const T& t) {
t.begin ();
t.end ();
}
Generated via doxygen2docusaurus 2.2.0 by Doxygen 1.17.0.