Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-03-23 00:02:49

Jason Shirk wrote:
> Actually, it can, but only under -Za. The problem is our
> "extension" to not need typename.
> Considering how often I see typename in Boost, I often wonder if
> "nontypename" would have been more appropriate.

Just a wild idea:

    #pragma extension(push)
    #pragma extension(disable: nontypename)

    template< typename T >
    struct has_member_...
        // ...

    #pragma extension(pop)

Of course it might be technically impossible to switch horses like this :).


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