Boost logo

Boost :

From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2005-05-20 15:32:22


"David Abrahams" <dave_at_[hidden]> wrote

> Now I think I found the bug in my code and BOOST_TYPEOF is off the
> hook. Seems to be working fine so far!

OK. Just a couple of things I noticed:

1) copy.hpp doesn't have INCREMENT_REGISTRATION_GROUP. This might result in
a problem if you use emulation mode and this file is first to register a
type or REGISTER_TYPE is on the same line number as in one of files included
before;

2) the return type of the function call operator is:

typename dispatch<copy_(typename add_const<Range1>::type&,Range2&)>::result

^^^^
Is it intended? I don't see a "result" typedef in the dispatch...

Regards,
Arkadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk