Re: [Boost-bugs] [Boost C++ Libraries] #5810: BOOST_STATIC_ASSERT requires unnecessary parentheses

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5810: BOOST_STATIC_ASSERT requires unnecessary parentheses
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-14 18:29:08


#5810: BOOST_STATIC_ASSERT requires unnecessary parentheses
-------------------------------+--------------------------------------------
  Reporter: tsoae@… | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: static_assert
   Version: Boost 1.47.0 | Severity: Cosmetic
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by johnmaddock):

 I'll commit a patch for this shortly, however, only a partial solution is
 possible for BOOST_STATIC_ASSERT_MSG(expression, message), as I can't see
 a way to define it in terms of BOOST_STATIC_ASSERT using variadic macros.
 It does work when a native static_assert is available though.

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