[Boost-bugs] [Boost C++ Libraries] #1212: Template fixtures

Subject: [Boost-bugs] [Boost C++ Libraries] #1212: Template fixtures
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-08-24 23:06:09


#1212: Template fixtures
-----------------------------------------------------------+----------------
 Reporter: Michael Marcin <mmarcin_at_[hidden]> | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost 1.34.1 | Severity: Problem
 Keywords: |
-----------------------------------------------------------+----------------
 {{{
 #!cpp
 template< bool TrueOrFalse >
 struct MyFixture
 {
 // ...
 };

 BOOST_FIXTURE_TEST_CASE( MyTest, MyFixture<true> )
 {
 // ...
 }
 }}}

 fails to compile

 a simple workaround is

 {{{
 #!cpp
 typedef MyFixture<true> MyFixtureTrue;
 BOOST_FIXTURE_TEST_CASE( MyTest, MyFixtureTrue )
 {
 // ...
 }
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1212>
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:49:56 UTC