Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-11-13 14:22:06


----- Original Message -----
From: <sgregory_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, November 13, 2001 1:50 PM
Subject: [boost] Re: More bind fun on MS

> --- In boost_at_y..., "Peter Dimov" <pdimov_at_m...> wrote:
> > From: <sgregory_at_c...>
> > > Is is ok that AddTick takes a 'const double' ?
> >
> > It's an MSVC 6 problem; you're right, it doesn't like the 'const'.
> MSVC 7 et
> > al compile the code.
>
> Grump.
>
> Looks like Sun C++ doesn't like it either, however...
> The file below - that Peter make working :-) when fed to a Sun
> CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-02 2001/09/18
> gives a bunch of errors, which I have attached below if anybody is
> interested.
>
> Guess I'll have to give up getting this to work cross-platform for
> the time being. *dratt*

FWIW, the const in the declaration has absolutely no value. You can still
write const in the definition, and everything will work with bind.

-Dave


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