mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.4K
active users

#endnamespace

0 posts0 participants0 posts today
lambdageek<p>I wonder if anyone has seriously thought about adding some kind of namespacing to the C preprocessor.</p><p>for example, it would be nice if you could say</p><p><a href="https://mastodon.social/tags/namespace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>namespace</span></a> FOO<br><a href="https://mastodon.social/tags/include" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>include</span></a> "foo.h"<br><a href="https://mastodon.social/tags/endnamespace" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>endnamespace</span></a></p><p>and then all the preprocessor defines from foo.h are brought into your file with names like FOO##<a href="https://mastodon.social/tags/BOOL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BOOL</span></a></p><p><a href="https://mastodon.social/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a> <a href="https://mastodon.social/tags/preprocessor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>preprocessor</span></a> <a href="https://mastodon.social/tags/cpreprocessor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cpreprocessor</span></a> <a href="https://mastodon.social/tags/cpp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cpp</span></a> <a href="https://mastodon.social/tags/wg14" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wg14</span></a></p>