mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 20:04:29 +02:00
Delete boost-level headers as they're no longer considered idiomatic and update all tests to use the test/helpers/unorderd.hpp header where applicable
This commit is contained in:
@@ -1,18 +0,0 @@
|
|||||||
|
|
||||||
// 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
|
|
@@ -1,18 +0,0 @@
|
|||||||
|
|
||||||
// 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_SET_HPP_INCLUDED
|
|
||||||
#define BOOST_UNORDERED_FLAT_SET_HPP_INCLUDED
|
|
||||||
|
|
||||||
#include <boost/config.hpp>
|
|
||||||
#if defined(BOOST_HAS_PRAGMA_ONCE)
|
|
||||||
#pragma once
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <boost/unordered/unordered_flat_set.hpp>
|
|
||||||
|
|
||||||
#endif // BOOST_UNORDERED_FLAT_SET_HPP_INCLUDED
|
|
@@ -9,8 +9,8 @@
|
|||||||
// clang-format off
|
// clang-format off
|
||||||
#include "prefix.hpp"
|
#include "prefix.hpp"
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
#ifdef BOOST_UNORDERED_FOA_TESTS
|
||||||
#include <boost/unordered_flat_set.hpp>
|
#include <boost/unordered/unordered_flat_set.hpp>
|
||||||
#include <boost/unordered_flat_map.hpp>
|
#include <boost/unordered/unordered_flat_map.hpp>
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
#include <boost/unordered/detail/implementation.hpp>
|
||||||
#else
|
#else
|
||||||
#include <boost/unordered_set.hpp>
|
#include <boost/unordered_set.hpp>
|
||||||
|
@@ -3,17 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../objects/test.hpp"
|
#include "../objects/test.hpp"
|
||||||
|
@@ -3,16 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered/unordered_flat_map.hpp>
|
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@@ -6,16 +6,7 @@
|
|||||||
// This test creates the containers with members that meet their minimum
|
// This test creates the containers with members that meet their minimum
|
||||||
// requirements. Makes sure everything compiles and is defined correctly.
|
// requirements. Makes sure everything compiles and is defined correctly.
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered/unordered_flat_map.hpp>
|
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../objects/minimal.hpp"
|
#include "../objects/minimal.hpp"
|
||||||
|
@@ -6,16 +6,7 @@
|
|||||||
// This test creates the containers with members that meet their minimum
|
// This test creates the containers with members that meet their minimum
|
||||||
// requirements. Makes sure everything compiles and is defined correctly.
|
// requirements. Makes sure everything compiles and is defined correctly.
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../objects/minimal.hpp"
|
#include "../objects/minimal.hpp"
|
||||||
|
@@ -4,17 +4,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
#include "../helpers/unordered.hpp"
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#else
|
|
||||||
// clang-format off
|
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../objects/test.hpp"
|
#include "../objects/test.hpp"
|
||||||
|
@@ -2,18 +2,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered/unordered_flat_map.hpp>
|
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
|
|
||||||
|
@@ -4,15 +4,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
#include "../helpers/prefix.hpp"
|
#include "../helpers/unordered.hpp"
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../objects/test.hpp"
|
#include "../objects/test.hpp"
|
||||||
|
@@ -3,18 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include <boost/functional/hash/hash.hpp>
|
#include <boost/functional/hash/hash.hpp>
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
|
@@ -3,18 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/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 "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include <boost/preprocessor/seq.hpp>
|
#include <boost/preprocessor/seq.hpp>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
@@ -3,18 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/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 "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@@ -2,18 +2,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered/unordered_flat_map.hpp>
|
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
|
|
||||||
|
@@ -3,17 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../objects/test.hpp"
|
#include "../objects/test.hpp"
|
||||||
|
@@ -4,17 +4,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
#include "../helpers/unordered.hpp"
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#else
|
|
||||||
// clang-format off
|
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../objects/test.hpp"
|
#include "../objects/test.hpp"
|
||||||
|
@@ -109,7 +109,7 @@ UNORDERED_AUTO_TEST (use_fwd_declared_trait_without_definition) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
#ifdef BOOST_UNORDERED_FOA_TESTS
|
||||||
#include <boost/unordered_flat_set.hpp>
|
#include <boost/unordered/unordered_flat_set.hpp>
|
||||||
#else
|
#else
|
||||||
#include <boost/unordered_set.hpp>
|
#include <boost/unordered_set.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
@@ -3,18 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
@@ -2,8 +2,7 @@
|
|||||||
#error "This test is only for the FOA-style conatiners"
|
#error "This test is only for the FOA-style conatiners"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/unordered/unordered_flat_map.hpp>
|
#include "../helpers/unordered.hpp"
|
||||||
#include <boost/unordered/unordered_flat_set.hpp>
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
|
|
||||||
|
@@ -3,18 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../helpers/invariants.hpp"
|
#include "../helpers/invariants.hpp"
|
||||||
|
@@ -6,17 +6,7 @@
|
|||||||
|
|
||||||
#if !defined(PIECEWISE_TEST_NAME)
|
#if !defined(PIECEWISE_TEST_NAME)
|
||||||
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
#include "../helpers/unordered.hpp"
|
||||||
#include <boost/unordered/unordered_flat_map.hpp>
|
|
||||||
#include <boost/unordered/unordered_flat_set.hpp>
|
|
||||||
#else
|
|
||||||
// clang-format off
|
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../objects/test.hpp"
|
#include "../objects/test.hpp"
|
||||||
|
@@ -3,18 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/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 "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
#ifdef BOOST_UNORDERED_FOA_TESTS
|
||||||
void foo(boost::unordered_flat_set<int>&, boost::unordered_flat_map<int, int>&);
|
void foo(boost::unordered_flat_set<int>&, boost::unordered_flat_map<int, int>&);
|
||||||
|
@@ -3,18 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/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 "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
#ifdef BOOST_UNORDERED_FOA_TESTS
|
||||||
void foo(
|
void foo(
|
||||||
|
@@ -3,18 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered/unordered_flat_map.hpp>
|
|
||||||
#include <boost/unordered/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include <boost/limits.hpp>
|
#include <boost/limits.hpp>
|
||||||
|
@@ -3,16 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
#include "../helpers/postfix.hpp"
|
#include "../helpers/unordered.hpp"
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
|
|
||||||
#include "../helpers/count.hpp"
|
#include "../helpers/count.hpp"
|
||||||
#include "../helpers/helpers.hpp"
|
#include "../helpers/helpers.hpp"
|
||||||
|
@@ -3,17 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
// file LICENSE_1_0.txt or move at http://www.boost.org/LICENSE_1_0.txt)
|
// file LICENSE_1_0.txt or move at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../objects/test.hpp"
|
#include "../objects/test.hpp"
|
||||||
|
@@ -3,18 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/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 "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../helpers/fwd.hpp"
|
#include "../helpers/fwd.hpp"
|
||||||
|
@@ -3,17 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include "../helpers/random_values.hpp"
|
#include "../helpers/random_values.hpp"
|
||||||
|
@@ -2,18 +2,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/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 "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
|
|
||||||
|
@@ -19,18 +19,7 @@ int main() {}
|
|||||||
// https://github.com/boostorg/unordered/issues/22
|
// https://github.com/boostorg/unordered/issues/22
|
||||||
//
|
//
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/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 "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
|
|
||||||
|
@@ -5,18 +5,7 @@
|
|||||||
|
|
||||||
// This test checks the runtime requirements of containers.
|
// This test checks the runtime requirements of containers.
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/prefix.hpp"
|
|
||||||
#ifdef BOOST_UNORDERED_FOA_TESTS
|
|
||||||
#include <boost/unordered_flat_map.hpp>
|
|
||||||
#include <boost/unordered_flat_set.hpp>
|
|
||||||
#include <boost/unordered/detail/implementation.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/unordered_map.hpp>
|
|
||||||
#include <boost/unordered_set.hpp>
|
|
||||||
#endif
|
|
||||||
#include "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
@@ -3,18 +3,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/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 "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@@ -2,18 +2,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
// clang-format off
|
#include "../helpers/unordered.hpp"
|
||||||
#include "../helpers/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 "../helpers/postfix.hpp"
|
|
||||||
// clang-format on
|
|
||||||
|
|
||||||
#include "../helpers/test.hpp"
|
#include "../helpers/test.hpp"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user