Reinstate boost::unordered::piecewise_construct

Maintain backwards-compatibility for users instead of forcing them to change to `std::`
This commit is contained in:
Christian Mazakas
2023-09-21 15:44:05 -07:00
parent 3f3b2128ec
commit 9b1ec6cbce
2 changed files with 22 additions and 16 deletions

View File

@@ -15,6 +15,7 @@
#include <boost/predef.h>
#include <utility>
#include <tuple>
////////////////////////////////////////////////////////////////////////////////
// Configuration
@@ -35,6 +36,11 @@
#endif
#endif
#include <tuple>
namespace boost {
namespace unordered {
using std::piecewise_construct;
using std::piecewise_construct_t;
} // namespace unordered
} // namespace boost
#endif