
Tim Blechmann wrote:
One more thing: Even if boost heaps are probably quite easy to use, I'd add a small tutorial/examples section that shows some working code using heaps and their features. well, in the concepts section, i am trying to explain the concepts and give some example code. not sure, if it is better to separate concepts and examples or to combine them ... The sample code in the concepts section is nice to illustrate the concepts, but these are just code snippets. It would be nice to have some examples which just compile and do something.
well, there is some actual code, that should compile and do something ;)
http://tim.klingt.org/git?p=boost_heap.git;a=blob;f=libs/heap/examples/inter...
I trust it compiles, but since there is no main function, it doesn't actually do anything, right? I get no executable. Nothing to start playing with. I am not looking for something elaborate, but two or three small applications that just do something and allow me to experiment with a new library without writing anything from scratch. IMHO, Boost.Asio has a particularly nice example section with use cases and working example programs: http://www.boost.org/doc/libs/1_43_0/doc/html/boost_asio/examples.html Regards, Roland