Program Listing for File std-map.hpp

Return to documentation for file (include/eigenpy/std-map.hpp)

#ifndef __eigenpy_std_map_hpp__
#define __eigenpy_std_map_hpp__

#include "eigenpy/map.hpp"
#include "eigenpy/deprecated.hpp"
#include <map>

namespace eigenpy {

template <typename Container>
using overload_base_get_item_for_std_map EIGENPY_DEPRECATED_MESSAGE(
    "Use overload_base_get_item_for_map<> instead.") =
    overload_base_get_item_for_map<Container>;

namespace details {
using ::eigenpy::overload_base_get_item_for_std_map;
}  // namespace details

template <class Key, class T, class Compare = std::less<Key>,
          class Allocator = std::allocator<std::pair<const Key, T> >,
          bool NoProxy = false>
struct StdMapPythonVisitor
    : GenericMapVisitor<std::map<Key, T, Compare, Allocator>, NoProxy> {};

namespace python {
// fix previous mistake
using ::eigenpy::StdMapPythonVisitor;
}  // namespace python
}  // namespace eigenpy

#endif  // ifndef __eigenpy_std_map_hpp__