Re: [Boost-bugs] [Boost C++ Libraries] #4421: fix for #4400

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4421: fix for #4400
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-18 20:50:40


#4421: fix for #4400
--------------------------------------+---------------------------
  Reporter: Wolf Lammen <ookami1@…> | Owner: no-maintainer
      Type: Patches | Status: new
 Milestone: Boost 1.44.0 | Component: preprocessor
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------+---------------------------

Comment (by eldiener):

 Fixed in the latest preprocessor code in the 'develop' branch.

 While I appreciate the patches I did not use them. It is an undefined
 result to call BOOST_PP_SEQ_REST_N with an 'n' which is equal to the size
 of the 'seq'. The fact that this returns nothing is an implementation
 detail, since a seq cannot be empty and BOOST_PP_SEQ_REST_N clearly states
 that it expands to a seq. I will update the documentation accordingly. I
 am not willing to change BOOST_PP_SEQ_REST_N to accomodate a situation
 which should be undefined.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4421#comment:9>
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:18 UTC