mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
Add helper header to include map types based on FOA vs FCA
This commit is contained in:
21
test/helpers/unordered.hpp
Normal file
21
test/helpers/unordered.hpp
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
// Copyright 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)
|
||||||
|
|
||||||
|
#if !defined(BOOST_UNORDERED_TEST_HELPERS_UNORDERED_HEADER)
|
||||||
|
#define BOOST_UNORDERED_TEST_HELPERS_UNORDERED_HEADER
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
#include "prefix.hpp"
|
||||||
|
#ifdef BOOST_UNORDERED_FOA_TESTS
|
||||||
|
#include <boost/unordered_flat_set.hpp>
|
||||||
|
#include <boost/unordered_flat_map.hpp>
|
||||||
|
#include <boost/unordered/detail/implementation.hpp>
|
||||||
|
#else
|
||||||
|
#include <boost/unordered_set.hpp>
|
||||||
|
#include <boost/unordered_map.hpp>
|
||||||
|
#endif
|
||||||
|
#include "postfix.hpp"
|
||||||
|
|
||||||
|
#endif
|
Reference in New Issue
Block a user