Skip to main content

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

Member Functions

inline decltype(auto) operator[](
    size_t index) const

Parameters

size_t index

subscript_proxy(Target& tgt, id<TargetDims> id)

Parameters

Target& tgt
id<TargetDims> id