0.4.1
Loading...
Searching...
No Matches
Unordered_map.hpp
Go to the documentation of this file.
1// This file is part of INSTINCT, the INS Toolkit for Integrated
2// Navigation Concepts and Training by the Institute of Navigation of
3// the University of Stuttgart, Germany.
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9/// @file Unordered_map.hpp
10/// @brief Unordered map wrapper
11/// @author T. Topp (topp@ins.uni-stuttgart.de)
12/// @date 2023-07-28
13
14#pragma once
15
16#ifdef protected
17 #define protectedTmp
18 #undef protected
19 #undef private
20#endif
21#include <ankerl/unordered_dense.h>
22#ifdef protectedTmp
23 #define protected public
24 #define private public
25 #undef protectedTmp
26#endif
27
28/// @brief Unordered map type
29/// @tparam Key Key
30/// @tparam T Value
31template<
32 class Key,
33 class T>
34using unordered_map = ankerl::unordered_dense::map<Key, T>;
ankerl::unordered_dense::map< Key, T > unordered_map
Unordered map type.