![]() |
Reference documentation for deal.II version 9.2.0
|
#include <deal.II/base/template_constraints.h>
Public Types | |
| using | type = decltype(test< T >(0)) |
Static Public Attributes | |
| static const bool | value = type::value |
Static Private Member Functions | |
| template<typename C > | |
| static std::false_type | test (...) |
| template<typename C > | |
| static auto | test (int) -> decltype(std::begin(std::declval< C >()), std::end(std::declval< C >()), std::true_type()) |
A type trait that checks to see if a class behaves as an iterable container that has a beginning and an end. This implies that the class either defines the begin() and end() functions, or is a C-style array.
Definition at line 101 of file template_constraints.h.
| using has_begin_and_end< T >::type = decltype(test<T>(0)) |
Definition at line 114 of file template_constraints.h.
|
staticprivate |
|
staticprivate |
|
static |
Definition at line 116 of file template_constraints.h.