Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
NCollection_ItemsView::KeyIndexRef< TheKeyType > Struct Template Reference

Key-index pair reference for structured binding support (key-only indexed maps). Enables: for (auto [key, index] : map.IndexedItems()) More...

#include <NCollection_ItemsView.hxx>

Public Member Functions

template<std::size_t I>
decltype(autoget () const noexcept
 

Data Fields

const TheKeyTypeKey
 
int Index
 

Detailed Description

template<class TheKeyType>
struct NCollection_ItemsView::KeyIndexRef< TheKeyType >

Key-index pair reference for structured binding support (key-only indexed maps). Enables: for (auto [key, index] : map.IndexedItems())

Template Parameters
TheKeyTypethe key type

Member Function Documentation

◆ get()

template<class TheKeyType >
template<std::size_t I>
decltype(auto) NCollection_ItemsView::KeyIndexRef< TheKeyType >::get ( ) const
inlinenoexcept

Field Documentation

◆ Index

◆ Key


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