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-08-13 00:23:47

#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@…>):

 The rationale for using SFINAE by "default template arguments for function
 templates" rather than restricting the number of template parameters by
 variadic templates is that

 * User-defined containers can have only one template parameter.
   In this case, the variadic template approach breaks the existing code.

 * Variadic templates cannot handle ordinary (type) template parameters and
   non-type template parameters simultaneously. This means that we have to
   different overloads for different patterns of non-type template
 parameters. It's a mess.

Ticket URL: <>
Boost C++ Libraries <>
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