eigenpy 3.12.0
Bindings between Numpy and Eigen using Boost.Python
Loading...
Searching...
No Matches
std-map.hpp
1
3
4#ifndef __eigenpy_std_map_hpp__
5#define __eigenpy_std_map_hpp__
6
7#include "eigenpy/map.hpp"
8#include "eigenpy/deprecated.hpp"
9#include <map>
10
11namespace eigenpy {
12
13template <typename Container>
14using overload_base_get_item_for_std_map EIGENPY_DEPRECATED_MESSAGE(
15 "Use overload_base_get_item_for_map<> instead.") =
17
18namespace details {
19using ::eigenpy::overload_base_get_item_for_std_map;
20} // namespace details
21
32template <class Key, class T, class Compare = std::less<Key>,
33 class Allocator = std::allocator<std::pair<const Key, T>>,
34 bool NoProxy = false>
36 : GenericMapVisitor<std::map<Key, T, Compare, Allocator>, NoProxy> {};
37
38namespace python {
39// fix previous mistake
41} // namespace python
42} // namespace eigenpy
43
44#endif // ifndef __eigenpy_std_map_hpp__
Expose the map-like container, e.g. (std::map).
Definition map.hpp:212
Expose an std::map from a type given as template argument.
Definition std-map.hpp:36
Change the behavior of indexing (method getitem in Python). This is suitable e.g. for container of Ei...
Definition map.hpp:26