1 #ifndef TIL_VALUE_PROXY_POLICY_H 2 #define TIL_VALUE_PROXY_POLICY_H 7 namespace til {
namespace policy
11 template <
typename TContainer,
typename TIndex >
26 static const_reference
get(TContainer & container, TIndex i)
27 {
return container.get(i); }
29 static const_pointer
getPointer(TContainer & container, TIndex i)
30 {
return container.getPointer(i); }
35 static void set(TContainer & container, TIndex i, value_type value)
36 { container.set(i, value); }
TContainer::value_type value_type
TContainer::const_reference const_reference
Belongs to package Box Do not include directly, include til/Box.h instead.
TContainer::const_pointer const_pointer
static const_pointer getPointer(TContainer &container, TIndex i)
Policy for value_proxy that defines how it should access the container elements.