[Boost-bugs] [Boost C++ Libraries] #4446: complete BOOST_PP_SEQ_TO_TUPLE

Subject: [Boost-bugs] [Boost C++ Libraries] #4446: complete BOOST_PP_SEQ_TO_TUPLE
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-16 10:19:19


#4446: complete BOOST_PP_SEQ_TO_TUPLE
------------------------------------------+---------------------------------
 Reporter: Wolf Lammen <ookami1@…> | Owner: no-maintainer
     Type: Patches | Status: new
Milestone: Boost 1.44.0 | Component: preprocessor
  Version: Boost 1.44.0 | Severity: Cosmetic
 Keywords: |
------------------------------------------+---------------------------------
 Feature completion, symmetric behavior:

 While BOOST_PP_TUPLE_TO_SEQ turns an empty tuple () into an empty sequence
 (i.e. nothing), the reverse operation BOOST_PP_SEQ_TO_TUPLE cannot turn an
 empty sequence to (). The attached patch fixes this, and, as a side
 effect, extends BOOST_PP_SEQ_ENUM to accept empty sequences as well.

 Cheers,

 Wolf Lammen

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4446>
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:03 UTC