Boost logo

Boost Users :

Subject: [Boost-users] MPL. Difference between variadic and numbered forms of sequences
From: dilas dilas (espiritusantu_at_[hidden])
Date: 2010-02-19 11:09:00


When I write expressions like:

template<class Seq, class Elem> struct pairs: fold<Seq, vector<>, push_back<_1,vector2<Elem, _2 > > >{};

Everything works just fine, but when I use variadic form:

template<class Seq, class Elem> struct pairs: fold<Seq, vector<>, push_back<_1,vector<Elem, _2 > > >{};

I have a lot of errors. Can someone explain me what's the difference?


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