Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2002-04-23 09:32:02

Paul Mensonides wrote:
> I posted this at comp.std.c++, but I don't think it went through--I'm not trying
> to 'cross-post'. :)
> I'm curious about the legality of the following construct. It is attempting to
> test whether a give type 'T' has a member function 'self'.

Stuff like this and is_convertible in the boost type traits library
seem to be ok.

Please see ISO C++ core issue 339 at

I'm very interested in real-world examples for the case mentioned
in the issue. (Note the template instantiation in the return type
of the function, not within the definition of some integral
const member, as is the case in the examples shown on this list so

Jens Maurer

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