mirror of
https://github.com/boostorg/container.git
synced 2025-08-03 06:24:26 +02:00
Avoid warnings of unused "piecewise_construct"
This commit is contained in:
@@ -84,8 +84,17 @@ typedef unspecified piecewise_construct_t;
|
|||||||
//! piecewise_construct_t
|
//! piecewise_construct_t
|
||||||
static piecewise_construct_t piecewise_construct = BOOST_CONTAINER_DOC1ST(unspecified, *std_piecewise_construct_holder<>::dummy);
|
static piecewise_construct_t piecewise_construct = BOOST_CONTAINER_DOC1ST(unspecified, *std_piecewise_construct_holder<>::dummy);
|
||||||
|
|
||||||
|
///@cond
|
||||||
|
|
||||||
namespace container_detail {
|
namespace container_detail {
|
||||||
|
|
||||||
|
struct piecewise_construct_use
|
||||||
|
{
|
||||||
|
//Avoid warnings of unused "piecewise_construct"
|
||||||
|
piecewise_construct_use()
|
||||||
|
{ (void)&::boost::container::piecewise_construct; }
|
||||||
|
};
|
||||||
|
|
||||||
template <class T1, class T2>
|
template <class T1, class T2>
|
||||||
struct pair;
|
struct pair;
|
||||||
|
|
||||||
@@ -130,6 +139,8 @@ struct pair_nat;
|
|||||||
template<typename T, typename U, typename V>
|
template<typename T, typename U, typename V>
|
||||||
void get(T); //to enable ADL
|
void get(T); //to enable ADL
|
||||||
|
|
||||||
|
///@endcond
|
||||||
|
|
||||||
template <class T1, class T2>
|
template <class T1, class T2>
|
||||||
struct pair
|
struct pair
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user