
13 Apr
2011
13 Apr
'11
5:35 p.m.
On Wed, Apr 13, 2011 at 1:17 PM, Thorsten Ottosen < thorsten.ottosen@dezide.com> wrote:
template< class T, BOOST_ENABLE_WHEN( boost::is_xxx<T> ) >
This is the best so far, I think, and avoids the mistakes people keep making. Also, no need for calling it "enable when" anymore, you might as well just call it BOOST_ENABLE_IF. We also no longer need new templates. -- -Matt Calabrese