Template Struct overload_base_get_item_for_std_vector

Inheritance Relationships

Base Type

  • public boost::python::def_visitor< overload_base_get_item_for_std_vector< Container > >

Struct Documentation

template<typename Container>
struct overload_base_get_item_for_std_vector : public boost::python::def_visitor<overload_base_get_item_for_std_vector<Container>>

Change the behavior of indexing (method getitem in Python). This is suitable for container of Eigen matrix objects if you want to mutate them.

Public Types

typedef Container::value_type value_type
typedef Container::value_type data_type
typedef size_t index_type

Public Functions

template<class Class>
inline void visit(Class &cl) const