Re: [Boost-bugs] [Boost C++ Libraries] #10029: Member variable vs local variable

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10029: Member variable vs local variable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-09 13:54:18


#10029: Member variable vs local variable
----------------------------------+--------------------------
  Reporter: Vijay Rao <vijay@…> | Owner: igaztanaga
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.54.0 | Severity: Problem
Resolution: invalid | Keywords:
----------------------------------+--------------------------
Changes (by michel):

 * status: new => closed
 * resolution: => invalid

Comment:

 Clang emits the following diagnostic message:
 {{{
 untitled:17:18: warning: parentheses were disambiguated as a function
 declaration [-Wvexing-parse]
   Qset q_instance(std::less<Element>(),
                  ^~~~~~~~~~~~~~~~~~~~~~
 untitled:17:19: note: add a pair of parentheses to declare a variable
   Qset q_instance(std::less<Element>(),
                   ^
                   ( )
 }}}

 Try searching "most vexing parse".

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10029#comment:1>
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