Boost logo

Boost :

Subject: Re: [boost] [utility][enable_if]Fiddly function lookup failure on msvc11
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2013-10-06 20:39:33

On 10/7/2013 9:41 AM, Quoth 山本賢一:
> template <class T>
> struct always_true :
> boost::mpl::true_
> {
> };
> The issue seems to be rather a compiler quirk of msvc11 than a enable_if's
> problem, but I posted the issue here because we need a workaround to avoid
> it (on msvc11) when we use enable_if. Please let me know if you have any
> idea about the issue. Thanks.

Does the behaviour change if you make always_true not a template, or if
you make some member of it actually depend on the template argument?

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