mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
Add proper flat_map header + forwarding header
This commit is contained in:
@ -7,6 +7,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/unordered/detail/foa.hpp>
|
#include <boost/unordered/detail/foa.hpp>
|
||||||
|
#include <boost/unordered/unordered_flat_map_fwd.hpp>
|
||||||
|
|
||||||
#include <boost/core/allocator_access.hpp>
|
#include <boost/core/allocator_access.hpp>
|
||||||
|
|
||||||
|
30
include/boost/unordered/unordered_flat_map_fwd.hpp
Normal file
30
include/boost/unordered/unordered_flat_map_fwd.hpp
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
|
||||||
|
// Copyright (C) 2022 Christian Mazakas
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
#ifndef BOOST_UNORDERED_FLAT_MAP_FWD_HPP_INCLUDED
|
||||||
|
#define BOOST_UNORDERED_FLAT_MAP_FWD_HPP_INCLUDED
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#if defined(BOOST_HAS_PRAGMA_ONCE)
|
||||||
|
#pragma once
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/functional/hash_fwd.hpp>
|
||||||
|
#include <boost/unordered/detail/fwd.hpp>
|
||||||
|
#include <functional>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
|
namespace boost {
|
||||||
|
namespace unordered {
|
||||||
|
template <class Key, class T, class Hash = boost::hash<Key>,
|
||||||
|
class KeyEqual = std::equal_to<Key>,
|
||||||
|
class Allocator = std::allocator<std::pair<const Key, T> > >
|
||||||
|
class unordered_flat_map;
|
||||||
|
}
|
||||||
|
|
||||||
|
using boost::unordered::unordered_flat_map;
|
||||||
|
} // namespace boost
|
||||||
|
|
||||||
|
#endif
|
18
include/boost/unordered_flat_map.hpp
Normal file
18
include/boost/unordered_flat_map.hpp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
// Copyright (C) 2022 Christian Mazakas
|
||||||
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/unordered for documentation
|
||||||
|
|
||||||
|
#ifndef BOOST_UNORDERED_FLAT_MAP_HPP_INCLUDED
|
||||||
|
#define BOOST_UNORDERED_FLAT_MAP_HPP_INCLUDED
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#if defined(BOOST_HAS_PRAGMA_ONCE)
|
||||||
|
#pragma once
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/unordered/unordered_flat_map.hpp>
|
||||||
|
|
||||||
|
#endif // BOOST_UNORDERED_FLAT_MAP_HPP_INCLUDED
|
Reference in New Issue
Block a user