robotoc
robotoc - efficient ROBOT Optimal Control solvers
Loading...
Searching...
No Matches
aligned_unordered_map.hpp
Go to the documentation of this file.
1#ifndef ROBOTOC_ALIGNED_UNORDERED_MAP_HPP_
2#define ROBOTOC_ALIGNED_UNORDERED_MAP_HPP_
3
4#include <unordered_map>
5#include "Eigen/StdVector"
6
7namespace robotoc {
8
13template <typename Key, typename T>
14using aligned_unordered_map = std::unordered_map<Key, T, std::hash<Key>, std::equal_to<Key>,
15 Eigen::aligned_allocator<std::pair<Key, T>>>;
16
17} // namespace robotoc
18
19#endif // ROBOTOC_ALIGNED_UNORDERED_MAP_HPP_
Definition: constraint_component_base.hpp:17
std::unordered_map< Key, T, std::hash< Key >, std::equal_to< Key >, Eigen::aligned_allocator< std::pair< Key, T > > > aligned_unordered_map
std unordered_map with Eigen::aligned_allocator.
Definition: aligned_unordered_map.hpp:15