2009 A unary operator expression of the form:
_Pragma ( string-literal )
is processed as follows: The string literal is destringized by
deleting the
2010
The resulting sequence of characters is processed through translation
phase 3 to produce preprocessing tokens that are executed as if they
were the
2011 The original four preprocessing tokens in the unary operator expression are removed.
2012 EXAMPLE A directive of the form:
#pragma listing on "..\listing.dir"
can also be expressed as:
_Pragma ( "listing on \"..\\listing.dir\"" )
The latter form is processed in the same way whether it appears literally as shown, or results from macro replacement, as in:
#define LISTING(x) PRAGMA(listing on #x)
#define PRAGMA(x) _Pragma(#x)
LISTING ( ..\listing.dir )
Next
Created at: 2005-06-29 02:19:05
The text from WG14/N1124 is copyright © ISO