Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-11-14 10:04:22

From: "David Abrahams" <david.abrahams_at_[hidden]>
> I just checked in some more changes on the void_returns branch to bind.hpp
> and mem_fn.hpp. To actually get things working required many more changes
> than I'd thought.

As they say in the game development industry, "your name goes in the
credits." ;-)

> I also had to make some changes for CodeWarrior
> compatibility, basically turning on BOOST_MEM_FN_ENABLE_STDCALL
> unconditionally under Win32.

I can't see this anywhere?

> I don't really understand what that means, but
> the compiler choked on the alternate section of code.

BOOST_MEM_FN_ENABLE_STDCALL enables mem_fn to understand __stdcall member
functions (for COM compatibility.)

MSVC also doesn't like the "primary" section and is always directed to the
alternate definitions by

#if defined(BOOST_MEM_FN_ENABLE_STDCALL) || (defined(BOOST_MSVC) &&
BOOST_MSVC <= 1300)

We'll need to add a check for Metrowerks <= 7.1 here as well.

> Peter, I'd appreciate it if you'd have another look at what I did before I
> integrate.

Looks OK to me. Go ahead.

Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at, gregod at, cpdaniel at, john at