
Andreas Pokorny wrote:
Assuming these are the up-to-date docs. Is the example code in the Docs: Extension/Enabling Tag Dispatching correct? <snip example_tag / example_sequence_tag typo details> </snip>
The docs are up to date, this is a typo in the documentation, the example code itself shows the correct definition. Thanks for spotting this, I've corrected it for later versions.
and... dan marsden wrote:
Hi Joel & Dan Going through the fusion quick start, I'm wondering how the expression ...
for_each(filter_if<boost::is_pointer<Sequence> >(seq), print_xml());
... could ever work? Shouldn't that rather read similar to ...
for_each(filter_if<boost::is_pointer<_> >(seq), print_xml());
... so that the _ placeholder can be replaced with the individual types in the sequence?
You're correct, this is a typo in the docs. I've added a correction to the cvs copy. Thanks for pointing this one out.
Thanks Dan! This is yet one more case for Dave Abraham's literal- programming suggestion for quickbook. I really should work on it as soon as I possibly can. Hmmm... can this be a candidate for SoC? I'm cross posting to the boost.docs. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net