[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Keyword Ordering

(ARM §7.1.2, §11.4) If you use either the virtual or the friend keyword in a declaration, it must be the first word in the declaration. For example:
Using the virtual or friend keywords:
class foo {
virtual int f0(); // OK
int virtual f1(); // ERROR
friend int f2(); // OK
int friend f3(); // ERROR
}
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 17, 2000