$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-06-17 17:09:05
AMDG
John Moeller wrote:
> I figured out how to do it (and it's pretty simple):
>
> template < typename R, typename V = void >
> struct is_range_impl
> : boost::mpl::false_
> {};
>
> template < typename R >
> struct is_range_impl< R, boost::range_iterator< R > >
> : boost::mpl::true_
> {};
>
> template < typename R >
> struct is_range
> : is_range_impl< R >
> {};
>
> Feel free to pick this apart; I wouldn't mind if it were made better.
>
Won't this always be false?
In Christ,
Steven Watanabe