Boost logo

Boost Users :

From: Stjepan Rajko (stipe_at_[hidden])
Date: 2008-07-27 12:28:43


2008/7/27 noman javed <noman_bwp_at_[hidden]>:
>
> struct Poplist
> {
> template<class seq>
> struct apply
> {
> typedef pop_front<seq>::type res;
> static const int value = size<seq>::value;
> };
> };

for starts, you need to use typename here:

typedef typename pop_front<seq>::type res;

Stjepan


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