Opened 7 years ago
Closed 5 years ago
#11925 closed Feature Requests (wontfix)
using namely understandable placeholders
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.60.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
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.
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I do not think it is a good idea to spoil the qi namespace with different aliases, but you can do it yourself if you want to.