[proto][doc]canned_transforms/construct.html typo at MakePair super?

http://boost-sandbox.sourceforge.net/libs/proto/doc/html/boost_proto/users_g... contains: struct MakePair : transform::construct< function<terminal<make_pair_tag>, terminal<_>, terminal<_> > , std::pair< transform::arg<transform::arg_c<_, 1> > , transform::arg<transform::arg_c<_, 2> > >( transform::arg<transform::arg_c<_, 1> > , transform::arg<transform::arg_c<_, 2> > ) > {}; which looks like a typo to me since there's (...) within the superclass spec. Maybe there should be a call(...) instead?

On 07/06/2007 07:31 AM, Larry Evans wrote: [snip]
which looks like a typo to me since there's (...) within the superclass spec. Maybe there should be a call(...) instead? Sorry. It compiles fine in
libs/xpressive/proto/test/examples.cpp and, as construct.html says, it's a function type: The second template parameter might look a little strange. It is actually a function type, which is consistent with the (...). Sorry for noise.
participants (1)
-
Larry Evans