Re: [Boost-bugs] [Boost C++ Libraries] #12712: BOOST_AUTO_TEST_SUITE: Generate unique names by using __COUNTER__

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12712: BOOST_AUTO_TEST_SUITE: Generate unique names by using __COUNTER__
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-02-01 07:57:35


#12712: BOOST_AUTO_TEST_SUITE: Generate unique names by using __COUNTER__
--------------------------------------+------------------------
  Reporter: ki.stfu@… | Owner: renficiaud
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: test
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+------------------------

Comment (by ki.stfu@…):

 How about the way suggested above?

 ```
 #if defined(__COUNTER__)
 #define BOOST_TEST_UNIQUE_NUMBER __COUNTER__
 #else
 #define BOOST_TEST_UNIQUE_NUMBER __LINE__
 #endif
 ```

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12712#comment:11>
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:21 UTC