Boost logo

Boost :

Subject: Re: [boost] [COre] Pull request for enable_if_type
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-08-10 11:09:17


On 10.08.2015 17:57, Joel FALCOU wrote:
> Hi,
>
> I just refurbished and pushed an old patch adding the enable_if_type
> SFINAE utility to core.
>
> https://github.com/boostorg/core/pull/15
>
> I tried to keep it simple and make the doc proper. This utility has been
> laying around various boost library and was "reinvetned" in bosot.SIMD.
> I think it's worth being in core so code duplication is kept to a minimum.

I think there's an overlap with BOOST_MPL_HAS_XXX_TRAIT_DEF and
BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF. Maybe it should be better named as
enable_if_has_type?


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