[Boost-bugs] [Boost C++ Libraries] #8413: BOOST_PP_SEQ_SIZE

Subject: [Boost-bugs] [Boost C++ Libraries] #8413: BOOST_PP_SEQ_SIZE
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-07 04:25:37


#8413: BOOST_PP_SEQ_SIZE
-----------------------+----------------------------------------------------
 Reporter: anonymous | Type: Patches
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.52.0
 Severity: Problem | Keywords:
-----------------------+----------------------------------------------------
 I needed to use a sequence ( var1a , var1b )( var2a , var2b )

 BOOST_PP_SEQ_SIZE would give incorrect number of parameters

 I changed all the BOOST_PP_SEQ_SIZE_xxx definitations from
 BOOST_PP_SEQ_SIZE_0( _ ) to

 #define BOOST_PP_SEQ_SIZE_0( ... ) BOOST_PP_SEQ_SIZE_1

 solved the problem and makes the sequences more usefull.

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