Topic: private member function returning a private type
Author: kin@isi.com (Kin Cho)
Date: 27 Jul 1993 23:52:32 -0700 Raw View
In porting some C++ code to VMS, we found that the DEC
C++ compiler complained about this:
class foo {
ptype enum {..};
ptype func();
};
foo::ptype foo::func()
{
..
}
If we make ptype public then it compiles.
In this case, is the DEC C++ compiler adhering more to the standard
than the others?
--
-kin
Kin Cho, Principal Engineer (408)980-1590 X230 Fax (408)980-0400
Integrated Systems Inc., 3260 Jay Street, Santa Clara, CA 95054