Subject: [Boost-bugs] [Boost C++ Libraries] #4613: Default value for optional Boolean type not being created.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-30 05:32:07
#4613: Default value for optional Boolean type not being created.
----------------------------------------------------+-----------------------
Reporter: Ryan McConnehey <mccorywork@â¦> | Owner: danielw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: parameter
Version: Boost 1.38.0 | Severity: Problem
Keywords: |
----------------------------------------------------+-----------------------
If a default Boolean value isn't used in extracting the value from the
ArgumentPack a compile error occurs. That means that this code compiles
"m_name(args[_name | false])" but "m_name(args[_name])" doesn't. A code
example can be found in this boost thread.
http://old.nabble.com/-parameter--Weird-behavior-with-bools-
td29539068.html
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4613> 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:04 UTC