Le 16/05/2016 à 19:30, Robert Ramey a écrit :
On 5/16/16 9:59 AM, Christian Aichinger wrote:
On 16.05.2016 17:01, Robert Ramey wrote:
On 5/16/16 2:08 AM, Christian Aichinger wrote:
I wrote full, self-contained code examples for each function in Boost Range. They are available at:
This looks like a good effort. Are all the examples tested with a boost build script?
I would like to see the author of boost range take a serious look at this to consider adding these examples (and tests there of) to the documenation of the range library.
[CC'ing Neil: would you be interested in this?]
They are built using a Makefile; the "Output" section below the examples is auto-generated by compiling and executing the code. There is currently no provision to test that the output matches the expected output, but that could be added.
I've put the source code up on Github: https://github.com/Grk0/boost-range-for-humans
Hmmm - maybe you might consider the following idea
fork the boost range project
integrate your examples into the current documentation on your fork
submit a PR to the author. If he likes it or maybe he'll just pull it into the main project - problem solved !!!
+1 Vicente