Re: [Boost-bugs] [Boost C++ Libraries] #13418: Request: allow general typelist types in BOOST_AUTO_TEST_CASE_TEMPLATE()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13418: Request: allow general typelist types in BOOST_AUTO_TEST_CASE_TEMPLATE()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-06-23 13:11:43


#13418: Request: allow general typelist types in BOOST_AUTO_TEST_CASE_TEMPLATE()
-------------------------------------+-------------------------------------
  Reporter: Tony E Lewis | Owner: Gennadiy Rozental
  <tonyelewis@…> |
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: test
   Version: Boost 1.66.0 | Severity: Optimization
Resolution: | Keywords:
                                     | mpl,test,typelist,template,c++11,tuple,tmp,metaprogramming
-------------------------------------+-------------------------------------

Comment (by Tony Lewis <TonyELewis@…>):

 Thanks for the reply.

 Ah sorry - I think I was assuming that you're currently still using
 `boost::mpl::vector` internally but AFAIU, you're saying you use
 `std::tuple`.

 ,,(I'm a bit surprised because I thought the library supported pre-C++11
 so would need to convert everything to a pre-C++11 typelist. Is that
 incorrect?),,

 Anyway, the thing I'm specifically requesting in this ticket is that
 `BOOST_AUTO_TEST_CASE_TEMPLATE()` accept arbitrary type lists
 (`boost::mpl::vector`, `std::tuple` or the user's own typelist type).

 I'm not making any requests about how you store the typelist internally
 (though if you don't have to support pre-C++11 and are already using
 `std::tuple`, it's possible you'd enjoy reduced compilation times by
 moving to `template <typename...> your_own_typelist;`).

 So yes: the thing you're proposing is exactly what I'm requesting. Thanks
 very much.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13418#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 : 2018-06-23 13:17:28 UTC