OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
small_flat_map.hpp
1#pragma once
2#include <ossia/detail/flat_map.hpp>
3#include <ossia/detail/pod_vector.hpp>
4#include <ossia/detail/small_vector.hpp>
5namespace ossia
6{
7
8template <typename K, typename V, std::size_t N, typename Compare = std::less<void>>
9using small_flat_map
10 = boost::container::flat_map<K, V, Compare, ossia::small_vector<std::pair<K, V>, N>>;
11
12template <typename K, typename V, std::size_t N, typename Compare = std::less<void>>
13using static_flat_map = boost::container::flat_map<
14 K, V, Compare, ossia::static_vector<std::pair<K, V>, N>>;
15
16/* does not work as it tries to call pair(piecewise_construct, ...)
17template <typename K, typename V, typename Compare = std::less<void>>
18using flat_pod_map = fc::flat_map<ossia::pod_vector<pod_pair<K, V>>, Compare>;
19
20template <typename K, typename V, std::size_t N, typename Compare =
21std::less<void>> using small_flat_pod_map =
22fc::flat_map<ossia::small_pod_vector<pod_pair<K, V>, N>, Compare>;
23
24template <typename K, typename V, std::size_t N, typename Compare =
25std::less<void>> using static_flat_pod_map =
26fc::flat_map<ossia::static_vector<pod_pair<K, V>, N>, Compare>;
27*/
28}
Definition git_info.h:7