Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-08-09 12:16:23


AMDG

Robert Jones wrote:
> Understood, but how would that be rewritten using lazy versions? It is
> more complicated than simply replacing enabe_if with lazy_enable_if?
>

template<class T>
typename boost::enable_if<boost::is_arithmetic<T>,
boost::mpl::identity<T> >::type foo(const T&);

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net