<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[#313 Given the following in C++]]></title><description><![CDATA[<p>#313 Given the following in C++</p><p>static union {<br />  int x;<br />}; // Well-formed?</p><p>Without checking:</p><p>A. Yes<br />B. No</p><p><a href="https://hachyderm.io/tags/Cplusplus" rel="tag">#<span>Cplusplus</span></a><br /><a href="https://hachyderm.io/tags/Cpppolls" rel="tag">#<span>Cpppolls</span></a></p>]]></description><link>https://board.circlewithadot.net/topic/5f1cbdde-3847-4679-8c55-86aa928d5f0f/313-given-the-following-in-c</link><generator>RSS for Node</generator><lastBuildDate>Mon, 25 May 2026 07:40:12 GMT</lastBuildDate><atom:link href="https://board.circlewithadot.net/topic/5f1cbdde-3847-4679-8c55-86aa928d5f0f.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Apr 2026 02:36:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to #313 Given the following in C++ on Wed, 29 Apr 2026 17:10:44 GMT]]></title><description><![CDATA[<p><span><a href="/user/shafik%40hachyderm.io">@<span>shafik</span></a></span> Are we worried about having a union with a single member?  Or is there something else I missed?</p><p>Had to look it up.  Single-member unions are perfectly legal.</p><p>What I didn't know is unions can also have methods, including constructors.</p>]]></description><link>https://board.circlewithadot.net/post/https://mstdn.ca/users/charette/statuses/116489102588728379</link><guid isPermaLink="true">https://board.circlewithadot.net/post/https://mstdn.ca/users/charette/statuses/116489102588728379</guid><dc:creator><![CDATA[charette@mstdn.ca]]></dc:creator><pubDate>Wed, 29 Apr 2026 17:10:44 GMT</pubDate></item></channel></rss>