Boost logo

Boost :

Subject: Re: [boost] [typeof][scope_exit] VS2017 and option /permissive-
From: Peter Dimov (lists_at_[hidden])
Date: 2017-04-15 14:23:15


Daniela Engert wrote:

> Thanks for this suggestion, Peter, I was thinking along the same lines as
> well. But for a start, I rather went for the low-risk path affecting only
> one compiler. During my experiments to find a fix for my problem I noticed
> that the decltype-based implemention required a template type alias to
> work thoughout all Boost libraries. Otherwise the compiler would complain
> about either a missing 'typename' keyword or a superfluous one.

Interesting. I didn't think of that but you're right. This is probably the
reason qualifiers are stripped via a helper function and not with a type
trait in the original implementation.


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