std-map.hpp
Go to the documentation of this file.
1 
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 
11 namespace eigenpy {
12 
13 template <typename Container>
14 using overload_base_get_item_for_std_map EIGENPY_DEPRECATED_MESSAGE(
15  "Use overload_base_get_item_for_map<> instead.") =
17 
18 namespace details {
19 using ::eigenpy::overload_base_get_item_for_std_map;
20 } // namespace details
21 
32 template <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 
38 namespace python {
39 // fix previous mistake
40 using ::eigenpy::StdMapPythonVisitor;
41 } // namespace python
42 } // namespace eigenpy
43 
44 #endif // ifndef __eigenpy_std_map_hpp__
eigenpy::overload_base_get_item_for_map
Change the behavior of indexing (method getitem in Python). This is suitable e.g. for container of Ei...
Definition: map.hpp:24
map.hpp
eigenpy
Definition: alignment.hpp:14
python
Definition: python.py:1
eigenpy::GenericMapVisitor
Expose the map-like container, e.g. (std::map).
Definition: map.hpp:211
eigenpy::StdMapPythonVisitor
Expose an std::map from a type given as template argument.
Definition: std-map.hpp:35


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Nov 2 2024 02:14:45