|
Boost Users : |
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2007-06-18 10:53:32
On Mon, June 18, 2007 09:58, Vít Kasal wrote:
> Hi,
>
> I have a problem with using pop_front on an integral sequence.
>
> pop_front< vector_c<T, c1, c2, ... cn> >::type
>
> results in
>
> vector<c2, ... cn>
>
> Is it intended behavior? Is there some way to get
>
> vector_c<T, c2, ... cn> >
>
> Thanks
> Vit
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
I think vector_c is implemented as vector< mpl::int_<c2>, ... mpl::int_<cn> >. May be you should
try using iterator_range which will result in a view to your initial vector and probably have a
better compiler performance.
With Kind Regards,
Ovanes Markarian
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