diff --git a/include/boost/container/detail/pair.hpp b/include/boost/container/detail/pair.hpp index 096f795..cad6f09 100644 --- a/include/boost/container/detail/pair.hpp +++ b/include/boost/container/detail/pair.hpp @@ -84,8 +84,17 @@ typedef unspecified piecewise_construct_t; //! piecewise_construct_t static piecewise_construct_t piecewise_construct = BOOST_CONTAINER_DOC1ST(unspecified, *std_piecewise_construct_holder<>::dummy); +///@cond + namespace container_detail { +struct piecewise_construct_use +{ + //Avoid warnings of unused "piecewise_construct" + piecewise_construct_use() + { (void)&::boost::container::piecewise_construct; } +}; + template struct pair; @@ -130,6 +139,8 @@ struct pair_nat; template void get(T); //to enable ADL +///@endcond + template struct pair {