Re: [Boost-bugs] [Boost C++ Libraries] #5419: assign fails with C++0x compilers

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5419: assign fails with C++0x compilers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-18 15:42:14


#5419: assign fails with C++0x compilers
-------------------------------+--------------------------------------------
  Reporter: chrisj | Owner: nesotto
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: assign
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by Michel MORIN <mimomorin@…>):

 Attached a patch for this ticket. [[BR]]
 I use C++0x's "default template arguments for function templates" feature
 to SFINAE out the conversion operator to `initializer_list`.
 (While `Container` is required to have `difference_type` nested-type,
 `initializer_list` does not have it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5419#comment:2>
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:07 UTC