3 Oct
2001
3 Oct
'01
5:52 p.m.
Eric Ford wrote:
I want to require functions that take the derived type as an argument. So I declare a variable of the derived at struct level in the concept class, but then g++ (2.95) complains about it being an invalid use of undefined type... forward declaration... . Is there a way to make this work? If so, does anyone have/know of an example I can see how to order things to make it work?
Please show us complete source code of what you want to achieve, plus the exact error messages gcc produces. People may want to check if different compilers yield other error messages. Jens Maurer