Appends an [index] to the variable. More...
#include <variable_info_private.hpp>
Public Member Functions | |
get_variable_index_visitor (int n) | |
void | from_named (typename get_variable_index_visitor::param_t state) const |
Private Attributes | |
const int | n_ |
Additional Inherited Members | |
Public Types inherited from variable_info_implementation::info_visitor_base< R, P > | |
using | result_t = R |
using | param_t = P & |
Appends an [index] to the variable.
We only support from_named since [index][index2] or a.length[index] both don't make sense.
Definition at line 174 of file variable_info_private.hpp.
|
inline |
Definition at line 177 of file variable_info_private.hpp.
|
inline |
Definition at line 182 of file variable_info_private.hpp.
References variable_info_implementation::get_variable_index_visitor< V >::n_, variable_info_implementation::resolve_negative_value(), and variable_info_implementation::state_indexed.
|
private |
Definition at line 190 of file variable_info_private.hpp.
Referenced by variable_info_implementation::get_variable_index_visitor< V >::from_named().