Checks whether T has a size() function. More...
#include <TypeTraits.h>
Static Public Attributes | |
| static constexpr bool | value = std::is_same<decltype( test<T>( 0 ) ), yes>::value |
Private Types | |
| typedef std::false_type | no |
| typedef std::true_type | yes |
Static Private Member Functions | |
| template<typename > | |
| static no | test (...) |
| template<typename U > | |
| static auto | test (int) -> decltype(std::declval< U >().size()==1, yes()) |
Checks whether T has a size() function.
Definition at line 56 of file TypeTraits.h.
|
private |
Definition at line 59 of file TypeTraits.h.
|
private |
Definition at line 58 of file TypeTraits.h.
|
staticprivate |
|
staticconstexpr |
Definition at line 63 of file TypeTraits.h.
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:42. Comments on this page |