tfel
Loading...
Searching...
No Matches
tfel::meta::HasRandomAccessConstIterator< A > Class Template Reference

#include </home/runner/work/tfel/tfel/include/TFEL/Metaprogramming/HasRandomAccessConstIterator.hxx>

Static Public Attributes

static constexpr bool cond = sizeof(Test(MakeSubsA())) == sizeof(Small)
 result of the metafunction.

Static Protected Member Functions

template<typename B>
requires ( std::is_same_v<typename std::iterator_traits< typename B::const_iterator>::iterator_category, std::random_access_iterator_tag>)
static Small Test (const Subs< B >)
static Big Test (...)
static Subs< A > MakeSubsA ()
 A function returning a T. A small trick for classes that are not default constructible.

Detailed Description

template<typename A>
class tfel::meta::HasRandomAccessConstIterator< A >
Parameters
typenameA, type tested.
Returns
bool cond, true if the type defines a random access const_iterator.

The documentation for this class was generated from the following file: