diff options
| author | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
| commit | 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 (patch) | |
| tree | 158cfc17b2f644a10f063cb546752cfaae12c97f /devdocs/gcc~13/incomplete-enums.html | |
| parent | 9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff) | |
| download | dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip | |
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/gcc~13/incomplete-enums.html')
| -rw-r--r-- | devdocs/gcc~13/incomplete-enums.html | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/devdocs/gcc~13/incomplete-enums.html b/devdocs/gcc~13/incomplete-enums.html deleted file mode 100644 index 8f46ebe9..00000000 --- a/devdocs/gcc~13/incomplete-enums.html +++ /dev/null @@ -1,6 +0,0 @@ -<div class="section-level-extent" id="Incomplete-Enums"> <div class="nav-panel"> <p> Next: <a href="function-names" accesskey="n" rel="next">Function Names as Strings</a>, Previous: <a href="alternate-keywords" accesskey="p" rel="prev">Alternate Keywords</a>, Up: <a href="c-extensions" accesskey="u" rel="up">Extensions to the C Language Family</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div> <h1 class="section" id="Incomplete-enum-Types"><span>6.49 Incomplete enum Types<a class="copiable-link" href="#Incomplete-enum-Types"> ΒΆ</a></span></h1> <p>You can define an <code class="code">enum</code> tag without specifying its possible values. This results in an incomplete type, much like what you get if you write <code class="code">struct foo</code> without describing the elements. A later declaration that does specify the possible values completes the type. </p> <p>You cannot allocate variables or storage using the type while it is incomplete. However, you can work with pointers to that type. </p> <p>This extension may not be very useful, but it makes the handling of <code class="code">enum</code> more consistent with the way <code class="code">struct</code> and <code class="code">union</code> are handled. </p> <p>This extension is not supported by GNU C++. </p> </div><div class="_attribution"> - <p class="_attribution-p"> - © Free Software Foundation<br>Licensed under the GNU Free Documentation License, Version 1.3.<br> - <a href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Incomplete-Enums.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Incomplete-Enums.html</a> - </p> -</div> |
