
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: Tuesday, July 24, 2012 3:12 PM To: boost@lists.boost.org Subject: Re: [boost] [type_erasure] Review started (July 18-27, 2012)
AMDG
On 07/24/2012 07:02 AM, Paul A. Bristow wrote:
I've started to read the documentation (and have a possibly-related headache ;-)
My impression is that I need this library, so I downloaded and started to try the examples (so I could fumble to confirm my own understanding) but immediately hit
compile fails with VS 2010.
My primary test compiler is VS 2010, so it ought to work. What are the errors that you're getting?
Am I right in concluding that I need a C++11 compliant compiler ?
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 ...) 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> 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? Paul