On 1/24/2013 3:59 AM,
boost-users-request-at-lists.boost.org |Boost/Allow to home|
wrote:
> I just added my second metafunction of the form is_range_of_X<T> for use
> with enable_if, and although the first one took some fiddleing to pass
> both compilers I was using, the second was a clone of the first with the
> name and type changed. So it really ought to be a general purpose
> is_range_of<Whatever, T> metafunction.
I assume it it's simply something like
is_same<typename mpl::eval_if< is_range<T>, range_value<T>, void>::type,
Whatever>