
11 Dec
2006
11 Dec
'06
2:44 a.m.
Sohail Somani wrote:
Warning: MPL noob, still waiting for my book to arrive
I'm reading the fusion library's documentation that was in the zip file for the announcement. If this is outdated, please ignore this email.
It is outdated. It's been fixed in the CVS.
for_each(filter_if<boost::is_pointer<Sequence> >(seq), print_xml());
Doc typo.
typedef mpl::lambda<boost::is_pointer<_1> >::type is_pointer; fusion::for_each(fusion::filter_if<is_pointer>(seq), print_xml());
Better yet (see docs in CVS): for_each(filter_if<boost::is_pointer<_> >(seq), print_xml()); HTH. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net