
Just tripped over this (maybe still "sleeping") bug: Neither Builder 5 nor the free 5.5.1 tool chain do support member function specializations: 27a28
# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS

Tobias Schwinger wrote:
Just tripped over this (maybe still "sleeping") bug:
Neither Builder 5 nor the free 5.5.1 tool chain do support member function specializations:
This is not true. I've been using member function specializations with the Borland compiler at least since BCB4, i.e. bcc32 5.4 . To be sure, we're speaking of something like: template <typename T> struct C { int f() { return 3; } }; template <> int C<char>::f() { return 4; } Cheers, Nicola Musatti

Nicola Musatti wrote:
Tobias Schwinger wrote:
template <typename T> struct C { int f() { return 3; } };
template <> int C<char>::f() { return 4; }
Oh god - forive me ;+) big thanks for pointing me at it - I used it completely wrong, until now... And sorry for any confusion ! I thought the whole time about something like this: template<class A, class B, class C> struct specialize_me<A (B::*)(C)> ... (BCC won't even parse it) However, I just read the text in the Config documentation again and now it seems perfectly clear what it means ;+) - also the name suits better now, somehow ...
Cheers, Nicola Musatti
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Nicola Musatti
-
Tobias Schwinger