Boost logo

Boost Users :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-10-03 12:52:20


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net