[Boost-bugs] [Boost C++ Libraries] #10032: void container parameters not ignored with BOOST_INTRUSIVE_VARIADIC_TEMPLATES

Subject: [Boost-bugs] [Boost C++ Libraries] #10032: void container parameters not ignored with BOOST_INTRUSIVE_VARIADIC_TEMPLATES
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-09 23:14:29


#10032: void container parameters not ignored with
BOOST_INTRUSIVE_VARIADIC_TEMPLATES
------------------------------------------+------------------------
 Reporter: Matei David <matei@…> | Owner: igaztanaga
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: intrusive
  Version: Boost 1.55.0 | Severity: Cosmetic
 Keywords: variadic template parameters |
------------------------------------------+------------------------
 When `BOOST_INTRUSIVE_VARIADIC_TEMPLATES` is used, `void` template
 parameters used to construct intrusive containers are not properly
 ignored, and instead cause compilation failure. E.g., `list< A, void > l`
 does not compile, but it compiles ok when that symbol is not defined.

 As one consequence, the library test suite cannot be compiled with that
 symbol defined, because tree-based containers in the test suite are built
 with `void` parameters.

 Technically, the issue rests with the `do_pack` struct in
 `pack_options.hpp`. In non-variadic context, `void`s are properly ignored.
 In the (heavy TMP) variadic context, they aren't.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10032>
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:16 UTC