Boost logo

Boost Users :

From: Robert Jones (robertgbjones_at_[hidden])
Date: 2008-08-09 06:20:23


On Fri, Aug 8, 2008 at 10:22 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:

> AMDG
> For example
>
> template<class T>
> typename boost::enable_if<boost::is_arithmetic<T>, T>::type foo(const T&);
>
> There is no point to using the lazy versions.
>
>
Understood, but how would that be rewritten using lazy versions? It is
more complicated than simply replacing enabe_if with lazy_enable_if?

- Rob.

-- 
ACCU - Professionalism in programming - http://www.accu.org


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