Directive (programming): Difference between revisions

Content deleted Content added
No edit summary
Line 14:
Syntactic constructs similar to C's preprocessor directives, such as [[C Sharp (programming language)|C#]]'s <code>#if</code>, are also typically called "directives", although in these cases there may not be any real preprocessing phase involved.
 
All preprocessor commands, except for <code>defined</code> (when following a conditional directive), begin with a hash symbol (#). Until [[C++26]], the keywords <code>export</code>, <code>import</code> and <code>module</code> were partially handled by the preprocessor.<ref>{{cite web|url=https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1857r1.html|title=P1857R1 - Modules Dependency Discovery}}</ref>
 
==History==