Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-10-07 09:42:20


From: "Wilka" <wilka_at_[hidden]>
> With MSVC 6, the current version of boost::bind gives errors with

[void returns]

> However, boost::function works OK. That is

[...]

> Compiles with no errors. Is this just an omission from boost::bind, or
> are new libraries not going to include these 'fixes' for broken
> compilers?

Yes, this is a (deliberate) omission. boost::bind does not currently contain
a void return workaround.

It has never been a requirement for boost to work on broken compilers; the
authors usually try to support them, but sometimes the cost outweighs the
benefits.

That said, this decision is not set in stone. Are void returns on MSVC 6 a
killer feature? Keep in mind that MSVC 7 supports them.

--
Peter Dimov
Multi Media Ltd.

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