Boost logo

Boost :

Subject: Re: [boost] [type_erasure] Review started (July 18-27, 2012)
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-07-24 13:21:06


AMDG

On 07/24/2012 09:02 AM, Paul A. Bristow wrote:
>
> Well that's good.
>
> I have got the code using SVN from boost-sandbox (this looks a day out of date compared to
> Sourceforge version but ...)
>

The Sourceforge version is fixed as of the
start of the review. I'm continuing to
update svn.

> am compiling with these #includes directories
>
> I:\boost-sandbox/type_erasure;I:\boost-trunk;
>
> and am using libs/example/intro.cpp
>
> The first glitch is
>
> I:\boost-sandbox\type_erasure\libs\type_erasure\example\intro.cpp(35): error C2039: 'vector' : is
> not a member of 'std'
>
> so I added
>
> #include<vector>
>

Fixed.

> then I get
>
> intro.cpp
> I:\boost-sandbox\type_erasure\libs\type_erasure\example\intro.cpp(54): error C2332: 'class' :
> missing tag name
> I:\boost-sandbox\type_erasure\libs\type_erasure\example\intro.cpp(54): error C2993: '' : illegal
> type for non-type template parameter '<unnamed-tag>'
> I:\boost-sandbox\type_erasure\libs\type_erasure\example\intro.cpp(54): error C2143: syntax error :
> missing ',' before '...'
> I:\boost-sandbox\type_erasure\libs\type_erasure\example\intro.cpp(55): error C4430: missing type
> specifier - int assumed. Note: C++ does not support default-int
> I:\boost-sandbox\type_erasure\libs\type_erasure\example\intro.cpp(55): error C2143: syntax error :
> missing ',' before '&'
>
> What am I missing?
>

Oh. I just added this example yesterday.
You're correct. It requires C++11.
The other examples should work fine.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk