[C++-sig] cvs update breaks some code (class_metadata.hpp)

David Abrahams dave at boost-consulting.com
Fri Jan 13 00:08:16 CET 2006


Brett Calcott <brett at coombs.anu.edu.au> writes:

> Hi,
>
> I have just updated from CVS. Some code of mine no longer compiles. I am 
> using VC 7.1 on Window XP Prof.
>
> Here is a short piece of code that compiles with CVS update from 1st 
> August 05, but not with the latest from 12th January 06.
>
> The problem occurs in class_metadata.hpp. A copy of the error produced 
> is below the code.
>
> I will investigate further, in the weekend. For now, if anyone has any 
> clues, let me know.

When you register a class derived from wrapper<B>, don't declare B to
be a base class (with bases<B>).  The library does that for you.


-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list