[ConceptGCC] |
ConceptGCC :newbie question |
From: Karl Meerbergen (karl.meerbergen_at_[hidden])
Date: 2006-11-27 03:41:25
Hi,
I am a new conceptg++ user, so forgive me if I am asking basis
questions.
I am struggling with concepts for member functions that are no
operators. Suppose I have a class
class foo {
void bar() const ;
} ;
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?
Thanks,
Karl
-- Karl Meerbergen Katholieke Universiteit Leuven Department of Computer Science E-mail: karl.meerbergen_at_[hidden] URL : http://www.cs.kuleuven.be/cwis/research/nalag/ Phone : +32 16 327700 (secretary) Fax : +32 16 327996