Subject: [Boost-bugs] [Boost C++ Libraries] #11925: using namely understandable placeholders
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-20 12:48:30
#11925: using namely understandable placeholders
------------------------------+----------------------
Reporter: DarkTrick@⦠| Owner: djowel
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.60.0 | Severity: Cosmetic
Keywords: |
------------------------------+----------------------
'''Current situation:'''
At the time, placeholders have rather generic names (_a,_1,_r1,...). That
leads to code like this (from the error handling tutorial):
<< _4 // what failed?
<< construct<std::string>(_3, _2) // iterators to error-pos, end
This is hardly self-explanatory code.
'''Suggestion:'''
change placeholder names to humanly understandable phrases, where
possible.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11925> 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:19 UTC