Functor that creates a reference either as a proxy or a view, based on use_view_as_reference metafunction. More...
Public Member Functions | |
| result_type | operator() (Container *ct_ptr, GID const &gid) const | 
| template<typename... Indices> | |
| result_type | operator() (Container *ct_ptr, Indices const &... i) const | 
Public Types | |
| typedef proxy< T, accessor_t > | result_type | 
Functor that creates a reference either as a proxy or a view, based on use_view_as_reference metafunction.
| T | The value type of the outer container, possibly another container. | 
| Container | The outer container type. | 
| GID | Gid type of the outer container. | 
Primary template constructs a proxy and returns it as the reference for the iterator dereference. The sole specialization instead heap allocates the proxy and uses it as the container for a view (the type of which is determined by container_traits).
 1.8.13