
23 Jun
2008
23 Jun
'08
9 a.m.
Ticket opened @ http://svn.boost.org/trac/boost/ticket/2037 Best regards, Stephan On Tue, Jun 17, 2008 at 3:39 PM, Stephan Diederich <stephan.diederich@googlemail.com> wrote:
Hi,
after upgrading to gcc 4.2.3 the following snippet fails to compile
#include <boost/concept_check.hpp> struct MyVisitor{}; namespace test{ struct MyVisitor{};} namespace{ struct MyVisitorAnon{};}
int main(){ using namespace boost; function_requires<CopyConstructible<MyVisitor> >(); function_requires<CopyConstructible<test::MyVisitor> >(); function_requires<CopyConstructible<MyVisitorAnon> >(); //this line breaks the build return 0; } [snip]