Boost logo

Boost Users :

From: Stephen Gross (sgross_at_[hidden])
Date: 2005-06-15 08:04:38


>Maybe

> template <class Sequence, class T>
     struct contains_convertible_type
       : mpl::not_<
            boost::is_same<
                typename mpl::find_if<
                    type_sequence
                  , boost::is_convertible<T,_1>
>::type
              , typename mpl::end<Sequence>::type
>
>
     {};

Cool--thanks for the info; I'll work on it...

Thanks,
--Steve


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