Boost logo

Boost Users :

From: me22 (me22.ca_at_[hidden])
Date: 2005-05-12 12:33:07


On 12/05/05, Andy Little <andy_at_[hidden]> wrote:
> Try:
>
> template <typename fT>
> explicit position(
> fT f,
> typename boost::enable_if<
> boost::is_convertible<fT, wrapped_type>,
> void*
> >::type = 0
> )
> : m_data( f ) {}
>

Thanks Andy, that worked perfectly.

- Scott McMurray


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