¶template <int TargetDims, typename Target>
inline decltype(auto) subscript(Target& tgt,
size_t index)
template <int TargetDims, typename Target>
inline decltype(auto) subscript(Target& tgt,
size_t index)
Template Parameters
- int TargetDims
- Target
Parameters
- Target& tgt
- size_t index
¶template <int TargetDims,
typename Target,
int SubscriptDim>
inline decltype(auto) subscript(Target& tgt,
id<TargetDims> id,
size_t index)
template <int TargetDims,
typename Target,
int SubscriptDim>
inline decltype(auto) subscript(Target& tgt,
id<TargetDims> id,
size_t index)
Template Parameters
- int TargetDims
- Target
- int SubscriptDim
Parameters
- Target& tgt
- id<TargetDims> id
- size_t index