10 Aug
2015
10 Aug
'15
3:09 p.m.
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?