<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Stringize operator</title><link>https://sourceforge.net/p/typp/wiki/Stringize%2520operator/</link><description>Recent changes to Stringize operator</description><atom:link href="https://sourceforge.net/p/typp/wiki/Stringize%20operator/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 07 Jan 2016 10:44:00 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/typp/wiki/Stringize%20operator/feed" rel="self" type="application/rss+xml"/><item><title>Stringize operator modified by Cyder</title><link>https://sourceforge.net/p/typp/wiki/Stringize%2520operator/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Stringize Operator&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Commonly known as the # (Hash) operator, it can be used, to transform a macro function argument into a string.&lt;br/&gt;
When using this operator, please not that the parameter will not be expanded before stringization (as per the c11 standard).&lt;/p&gt;
&lt;p&gt;The following example show, that STRINGIZE will not expand "foo" before stringification, but STRINGIZE_2 will, because "foo" is expanded, when being inserted as a parameter for STRINGIZE&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;#define STRINGIZE(x) #x
#define STRINGIZE_2(x) STRINGIZE(x)
#define foo 42

STRINGIZE(foo)   // Expands to ["foo"]
STRINGIZE_2(foo) // Expands to ["42"]
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;s.a. &lt;a class="alink" href="/p/typp/wiki/Bracket%20notation/"&gt;[Bracket notation]&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cyder</dc:creator><pubDate>Thu, 07 Jan 2016 10:44:00 -0000</pubDate><guid>https://sourceforge.netf861266c7735cc3fcc62cb1af6b7d1f1ecbfb5ae</guid></item></channel></rss>