Subject: Re: [boost] Is there BOOST_ENABLE_IF macro now?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2013-08-18 13:53:08


On 18/08/13 18:48, TONGARI J wrote:

> I should refer to this:
>
> http://listarchives.boost.org/Archives/boost/2011/08/184468.php
>
> Of course it's for C++11 only...

Yes I've seen this. It's limited in somewhat unexpected ways, requires a
lot of C++11 features to be correctly implemented, and also is
unnecessarily inefficient at compile-time.

I see no compelling advantage to using it instead of less obscure, more
flexible, more portable and more efficient solutions.