[Boost-bugs] [Boost C++ Libraries] #8175: Make boost::container::allocator_arg_t a typedef of std::allocator_arg_t when available

Subject: [Boost-bugs] [Boost C++ Libraries] #8175: Make boost::container::allocator_arg_t a typedef of std::allocator_arg_t when available
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-25 20:40:20


#8175: Make boost::container::allocator_arg_t a typedef of std::allocator_arg_t
when available
----------------------------------+-----------------------------------------
 Reporter: Erik.Jensen@… | Owner: igaztanaga
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: container
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 Currently, boost::container::allocator_arg_t is always defined as a
 simple, empty struct. It would be nice if it were instead a typedef of
 std::allocator_arg_t when the latter is available. Right now, I have to
 have a separate constructor overloads for each type, with an #if guard
 around the std::allocator_arg_t overload. It would be much nicer if I
 could just use boost::container::allocator_arg_t, and have it be
 automatically usable with std::scoped_allocator if supported by the
 implementation.

 Thanks.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8175>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC