Re: [Boost-bugs] [Boost C++ Libraries] #11911: BOOST_TEST macro's argument must be put between brackets

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11911: BOOST_TEST macro's argument must be put between brackets
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-14 17:07:58


#11911: BOOST_TEST macro's argument must be put between brackets
-------------------------------+---------------------
  Reporter: anonymous | Owner: rogeeff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: test
   Version: Boost 1.60.0 | Severity: Problem
Resolution: worksforme | Keywords:
-------------------------------+---------------------

Comment (by anonymous):

 About const, I forgot it in this short example and the name of the test
 case was randomly picked.

 But, about the different behaviour when there are brackets around the
 condition and when not, it feels inconsistent to me. Also, I got some very
 cryptic error messages from the compiler referring to boost's files. I'm
 ok with boost trying to print the object it is testing if this is a
 generally expected behaviour in unit test frameworks. However a
 static_assert with a comprehensible error message in case this can't be
 done should be useful and save much debugging time.

 Thank you for the help.

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