Boost logo

Geometry :

Subject: Re: [geometry] Why reverse_dispatch returns bool rather than mpl::bool_<T> ?
From: Samuel Debionne (samuel.debionne_at_[hidden])
Date: 2014-05-20 10:43:05


> reverse_dispatch<> is derived from integral_constant<bool, ...> so AFAIU
> it can be passed directly to the mpl metafunction. Or am I wrong about
> this?

Thanks Adam, I was just about to answer my question with an other (more
accurate) question :

Why is the template parameter Reverse of say dispatch::distance of
non-type bool rather than mpl::bool_ ?

template
<
    ...
    *bool* Reverse = reverse_dispatch<Geometry1, Geometry2>::type::value
>

Samuel


Geometry list run by mateusz at loskot.net