e75d95 | 2016-11-14 | Pontus Östlund | | <!doctype html>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <html>
<head>
|
e75d95 | 2016-11-14 | Pontus Östlund | | <meta content="width=device-width, initial-scale=1" name="viewport">
<meta charset="utf-8">
<title>#undef - Pike Reference Manual</title>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <style type='text/css'>
svg line { stroke:#343434; stroke-width:2; }
svg text { fill:#343434; }
svg a { fill:#0768b2; text-decoration: underline; }
</style>
</head>
|
e75d95 | 2016-11-14 | Pontus Östlund | | <body>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <header>
|
e75d95 | 2016-11-14 | Pontus Östlund | | <div class="header">
<div id="version"><strong data-id="version"></strong></div>
<div id="burger">☰</div> |
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
</header>
|
e75d95 | 2016-11-14 | Pontus Östlund | | <div id="page">
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <div class="navbar">
|
e75d95 | 2016-11-14 | Pontus Östlund | | <nav>
<div class="inner" id="navbar">
<a href='../../index.html'><b class='top head'>Top</b></a>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <a href='../../ex/cpp_3A_3A.html'><b class='head'>cpp::</b></a>
<script></script>
<noscript>
<div class='sidebar'>
<a href='../../ex/cpp_3A_3A/index.html'><b>Symbol index</b></a><br />
</div>
</noscript>
|
e75d95 | 2016-11-14 | Pontus Östlund | | </div>
</nav>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
|
e75d95 | 2016-11-14 | Pontus Östlund | | <div class="content">
<div class="navbox">
<nav>
<div class="sidebar">
<a href="../../ex/cpp_3A_3A/_23string.html" class="prev"><span>➤</span> #string</a>
<a href="../../ex/cpp_3A_3A/_23undefine.html" class="next">#undefine <span>➤</span></a>
</div>
</nav>
</div>
<div class="contentbox">
<article>
<h1>Directive #undef</h1>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | |
<hr />
<dl class='group--doc'>
<dt class='head--type'><span class='homogen--type'>Directive</span>
<span class='homogen--name'><b>#undef</b></span>
</dt>
<dd><p><code class='directive'>#undef</code><br>
<code class='directive'>#undefine</code></p></dd>
<dt class='head--doc'>Description</dt>
<dd class='body--doc'><p>This removes the effect of a <a class='ms reference' href='../cpp_3A_3A.html'>#define</a>, all subsequent occurances of
the undefined identifier will not be replaced by anything.</p>
</dd>
<dt class='head--doc'>Note</dt>
<dd class='body--doc'><p>Note that when undefining a macro, you just give the identifer,
not the arguments.</p>
</dd>
<dt class='head--doc'>Example</dt>
<dd class='example'><pre><p>// Strip debug
#define werror(X ...) 0
#include "/home/someone/experimental/stuff.h"
#undef werror</p>
</pre></dd>
<dt class='head--doc'>See also</dt>
<dd class='body--doc'><p><a class='ms reference' href='../cpp_3A_3A.html'>#define</a>, <a class='ms reference' href='../cpp_3A_3A/defined.html'>defined()</a></p>
</dd></dl>
|
e75d95 | 2016-11-14 | Pontus Östlund | | </article>
</div>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
</div>
|
e75d95 | 2016-11-14 | Pontus Östlund | | <footer>
<div id="build-date">Extracted from <strong data-id="version"></strong> as of <strong data-id="date" data-timestamp=""></strong>.</div>
</footer>
<script>PikeDoc.current = {"link":"ex/cpp_3A_3A/_23undef.html","name":"#undef"};</script>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <script src='../../ex/cpp_3A_3A/index.js'></script>
<script src='../../ex/cpp_3A_3A/load_index.js'></script>
|
e75d95 | 2016-11-14 | Pontus Östlund | | <script>
// Tell PikeDoc that next actions are from loaded scripts
PikeDoc.isInline = false;
</script>
</body>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </html>
|