[ConceptGCC] |
ConceptGCC :Re: newbie question |
From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2006-11-27 12:10:25
On Mon, 2006-11-27 at 09:41 +0100, Karl Meerbergen wrote:
> I am a new conceptg++ user,
Welcome!
> Now I want to make a concept
>
> concept Foo<typename X> {
> void X::bar() const ; // works, but not for concepts derived from Foo
> } ;
>
> It is all fine for operators.
> Attached is a file that does not compile. Any idea what I am doing
> wrong?
Your code is correct; this is a bug in the compiler. I have now fixed
this bug in the Subversion version of ConceptGCC.
Cheers,
Doug