Maipa's Standard Library Extension 1.5.6
mstd
Loading...
Searching...
No Matches
containers_types.hpp
1/*
2 * mstd - Maipa's Standard Library
3 *
4 * Licensed under the BSD 3-Clause License with Attribution Requirement.
5 * See the LICENSE file for details: https://github.com/MAIPA01/mstd/blob/main/LICENSE
6 *
7 * Copyright (c) 2025, Patryk Antosik (MAIPA01)
8 */
9
10#pragma once
11#ifndef _MSTD_CONTAINERS_TYPES_HPP_
12 #define _MSTD_CONTAINERS_TYPES_HPP_
13
14 #include <mstd/config.hpp>
15
17_MSTD_WARNING("this is only available for c++17 and greater!");
18 #else
19
20 #include <mstd/containers_utils.hpp>
21
22namespace mstd {
23 template<class T>
24 class ordered_set;
25
26 template<class Key, class T>
27 class ordered_map;
28
29 template<class Key, class T, template<class, class, class...> class Map = std::map>
30 class bimap;
31
32 template<class Key, class T>
33 using unordered_bimap = bimap<Key, T, std::unordered_map>;
34
35 template<class Key, class T>
36 using ordered_bimap = bimap<Key, T, ordered_map>;
37
38 template<class T>
39 class stable_vector;
40} // namespace mstd
41 #endif
42#endif
#define _MSTD_HAS_CXX17
Definition config.hpp:45