summaryrefslogtreecommitdiff
path: root/devdocs/gcc~13/initializers.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-08-14 22:58:58 -0500
committerCraig Jennings <c@cjennings.net>2025-08-14 22:58:58 -0500
commit82ba818ff456bcd6d56a06226e3f27e98fbb55c3 (patch)
tree158cfc17b2f644a10f063cb546752cfaae12c97f /devdocs/gcc~13/initializers.html
parent9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff)
downloaddotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz
dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/gcc~13/initializers.html')
-rw-r--r--devdocs/gcc~13/initializers.html11
1 files changed, 0 insertions, 11 deletions
diff --git a/devdocs/gcc~13/initializers.html b/devdocs/gcc~13/initializers.html
deleted file mode 100644
index d457b9be..00000000
--- a/devdocs/gcc~13/initializers.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<div class="section-level-extent" id="Initializers"> <div class="nav-panel"> <p> Next: <a href="compound-literals" accesskey="n" rel="next">Compound Literals</a>, Previous: <a href="pointers-to-arrays" accesskey="p" rel="prev">Pointers to Arrays with Qualifiers Work as Expected</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="Non-Constant-Initializers"><span>6.27 Non-Constant Initializers<a class="copiable-link" href="#Non-Constant-Initializers"> ¶</a></span></h1> <p>As in standard C++ and ISO C99, the elements of an aggregate initializer for an automatic variable are not required to be constant expressions in GNU C. Here is an example of an initializer with run-time varying elements: </p> <div class="example smallexample"> <pre class="example-preformatted" data-language="cpp">foo (float f, float g)
-{
- float beat_freqs[2] = { f-g, f+g };
- /* <span class="r">…</span> */
-}</pre>
-</div> </div><div class="_attribution">
- <p class="_attribution-p">
- &copy; 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/Initializers.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Initializers.html</a>
- </p>
-</div>