Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Test] What's the best way to make custom assertions?
From: Richard (legalize+jeeves_at_[hidden])
Date: 2012-10-31 00:03:25


[Please do not mail me a copy of your followup]

boost-users_at_[hidden] spake the secret code
<k66ppo$i85$1_at_[hidden]> thusly:

>All I need is for __FILE__ and __LINE__ to be substituted in at the
>first level of macro expansion. [...]
>
>I propose a refactoring like:
>
>#define BOOST_REQUIRE( P ) BOOST_REQUIRE_FL( P, __FILE__, __LINE__ )
>[...]

Gennady, if I make such a patch, will it be accepted?

-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
     The Computer Graphics Museum <http://computergraphicsmuseum.org>
         The Terminals Wiki <http://terminals.classiccmp.org>
  Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net