SFINAE compile time check if type T has const iterator.
More...
#include "attribute-container-accessor-helper.h"
|
static const bool | value = sizeof (test<T> (0)) == sizeof (yes) |
| Value of the test - true if type has a const_iterator. More...
|
|
|
template<typename C > |
static no | test (...) |
| Test function, compiled if type does not have a const_iterator. More...
|
|
template<typename C > |
static yes | test (typename C::const_iterator *) |
| Test function, compiled if type has a const_iterator. More...
|
|
template<typename T>
struct ns3::has_const_iterator< T >
SFINAE compile time check if type T has const iterator.
Definition at line 38 of file attribute-container-accessor-helper.h.
◆ type
◆ yes
◆ test() [1/2]
template<typename T >
template<typename C >
Test function, compiled if type does not have a const_iterator.
- Returns
- A value indicating that this specialization has been compiled.
◆ test() [2/2]
template<typename T >
template<typename C >
Test function, compiled if type has a const_iterator.
- Returns
- A value indicating that this specialization has been compiled.
◆ value
The documentation for this struct was generated from the following file: