Topic: Reference to incomplete type


Author: mattes@iema.e-technik.uni-stuttgart.de (Eberhard Mattes)
Date: 13 Jul 1993 17:54:19 GMT
Raw View
Is the following code valid, according to the proposed ANSI standard?

class foo;
void bar (foo &x) { }

G++ 2.4.5 treats this as error, IBM C++ doesn't complain.
--
  Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de)