|
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
http://wwwold.dkuug.dk/JTC1/SC22/WG21/docs/cwg_active.html#339
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
far.)
Jens Maurer
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk