Boost logo

Boost :

From: Stephan Diederich (stephan.diederich_at_[hidden])
Date: 2008-06-23 05:00:49


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_at_[hidden]> 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]


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