Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-11 12:09:48


"Russell Hind" <rh_gmane_at_[hidden]> wrote in message
news:d5t5s4$os$1_at_sea.gmane.org...
| Thorsten Ottosen wrote:
| >
| > I think I changed this part of the file yesterday. Maybe you could tell me
| > what line 99 is today by doing a cvs update?
| >
|
| I did an update this morning and line 99 is the return statement of this
| function:
|
| #ifdef BOOST_NO_SFINAE
|
| template< class Iter >
| static const U* get_const_pointer( Iter i )
| {
| return static_cast<const U*>( *i.base() );
| }
|
| #else // BOOST_NO_SFINAE

well, *i.base() returns a void*. So I don't know why the compiler won't
compile it.

|
| >
| > where these kinds of typedefs necessary or did the cvs work ok?
| >
|
| No, the typedefs are necessary. As soon as you put (a<T,U>,b) in to a
| preprocessor macro, it looks like Borland passes the first parameter in
| as up to the first i.e. a<T then U> then b so you need the typedefs to
| get rid of the extra commas.

aah yes, I'll update that ASAP.

-Thorsten


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