From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/gcc~13/compatibility_005falias.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devdocs/gcc~13/compatibility_005falias.html (limited to 'devdocs/gcc~13/compatibility_005falias.html') diff --git a/devdocs/gcc~13/compatibility_005falias.html b/devdocs/gcc~13/compatibility_005falias.html new file mode 100644 index 00000000..aebd3e04 --- /dev/null +++ b/devdocs/gcc~13/compatibility_005falias.html @@ -0,0 +1,11 @@ +

8.6 compatibility_alias

The keyword @compatibility_alias allows you to define a class name as equivalent to another class name. For example:

@compatibility_alias WOApplication GSWApplication;
+

tells the compiler that each time it encounters WOApplication as a class name, it should replace it with GSWApplication (that is, WOApplication is just an alias for GSWApplication).

There are some constraints on how this can be used—

+

+ © Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
+ https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/compatibility_005falias.html +

+
-- cgit v1.2.3