class subscript_proxy
Declaration
template <int TargetDims, typename Target, int SubscriptDim = 0>
class subscript_proxy { /* full declaration omitted */ };
Template Parameters
- int TargetDims
- Target
- int SubscriptDim = 0
Member Variables
- Target& m_tgt
- id<TargetDims> m_id = {}
Member Function Overview
- operator[](size_t index) const → decltype(auto)
- subscript_proxy(Target & tgt, id<TargetDims> id)
Member Functions
¶inline decltype(auto) operator[](
size_t index) const
inline decltype(auto) operator[](
size_t index) const
Parameters
- size_t index
¶subscript_proxy(Target& tgt, id<TargetDims> id)
subscript_proxy(Target& tgt, id<TargetDims> id)
Parameters
- Target& tgt
- id<TargetDims> id