Boost logo

Boost Users :

Subject: Re: [Boost-users] [mpl] how can I pattern-match a 'built' mpl::vector?
From: Rob Desbois (rob.desbois_at_[hidden])
Date: 2012-03-26 13:07:29


On 26 March 2012 16:14, Gabriel Redner <gredner_at_[hidden]> wrote:
>
> > I'm having trouble doing that, since the result of push_back is not an
> > mpl::vector type, so how do I go about matching this?
>
> mpl::is_sequence should allow you to detect a nested sequence.

Perfect :-) thanks
Feel silly for missing that one...

--rob

--
Rob Desbois
http://theotherbranch.wordpress.com/
"I disapprove of what you say, but I’ll defend to the death your right
to say it", Voltaire

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