Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Data Structures
NCollection_ForwardRangeDetail Namespace Reference

Data Structures

struct  AccessorTraits
 Accessor dispatch trait: resolves to the correct value accessor and its return type. Uses std::enable_if_t for mutually-exclusive priority selection. More...
 
struct  AccessorTraits< T, std::enable_if_t< HasValue< T >::value > >
 Priority 1: has Value() More...
 
struct  AccessorTraits< T, std::enable_if_t<!HasValue< T >::value &&!HasCurrent< T >::value &&HasCurrentId< T >::value > >
 Priority 3: has CurrentId() but not Value() or Current() More...
 
struct  AccessorTraits< T, std::enable_if_t<!HasValue< T >::value &&HasCurrent< T >::value > >
 Priority 2: has Current() but not Value() More...
 
struct  ArrowProxy
 Proxy for operator-> when the accessor returns a value (not a reference). More...
 
struct  HasCurrent
 SFINAE: detect .Current() const. More...
 
struct  HasCurrent< T, std::void_t< decltype(std::declval< const T & >().Current())> >
 
struct  HasCurrentId
 SFINAE: detect .CurrentId() const. More...
 
struct  HasCurrentId< T, std::void_t< decltype(std::declval< const T & >().CurrentId())> >
 
struct  HasValue
 SFINAE: detect .Value() const. More...
 
struct  HasValue< T, std::void_t< decltype(std::declval< const T & >().Value())> >