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-21 23:32:16


#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 Raffi Enficiaud):

 Well, I am not sure that `mpl::vector` can handle, especially because a
 [https://www.boost.org/doc/libs/1_67_0/libs/mpl/doc/refmanual/variadic-
 sequence.html preprocessor value] that is limiting the variadicity is
 involved.

 I suggest this instead: I will keep the `std::tuple` internally, and
 slightly improve the API such that constructing a `std::tuple` is not
 needed (and instead any variadic template would do).

 What do you think?

 The argument checking is definitely a good thing to have, and you will
 have a more general API. It will not be faster in terms of compilation
 machinery since it will still involve `std::tuple`, at least internally.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13418#comment:1>
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-21 23:37:54 UTC