A.2.175 -xrestrict[= f] ............................................................................................................ 319
A.2.176 –xs ................................................................................................................................. 321
A.2.177 –xsafe=mem ................................................................................................................... 321
A.2.178 –xsb ............................................................................................................................... 322
A.2.179 –xsbfast ....................................................................................................................... 322
A.2.180 –xspace ......................................................................................................................... 322
A.2.181 –xtarget=t ................................................................................................................... 322
A.2.182 -xthreadvar[= o] ......................................................................................................... 329
A.2.183 –xtime ........................................................................................................................... 330
A.2.184 -xtrigraphs[={ yes|no}] ........................................................................................... 330
A.2.185 –xunroll= n .................................................................................................................. 331
A.2.186 -xustr={ascii_utf16_ushort| no} ......................................................................... 331
A.2.187 -xvector[= a] ............................................................................................................... 332
A.2.188 -xvis[={yes|no}] ......................................................................................................... 333
A.2.189 -xvpara ......................................................................................................................... 334
A.2.190 –xwe ............................................................................................................................... 334
A.2.191 -Yc,path ......................................................................................................................... 334
A.2.192 -z[]arg .......................................................................................................................... 335
B Pragma ............................................................................................................................................... 337
B.1 Pragma 形式 ................................................................................................................................ 337
B.1.1 将函数作为 pragma 参数进行重载 ............................................................................. 337
B.2 Pragma
参考 ................................................................................................................................ 338
B.2.1 #pragma align .................................................................................................................. 338
B.2.2 #pragma does_not_read_global_data ....................................................................... 339
B.2.3 #pragma does_not_return ............................................................................................ 339
B.2.4 #pragma does_not_write_global_data ...................................................................... 340
B.2.5 #pragma dumpmacro s ...................................................................................................... 340
B.2.6 #pragma end_dumpmacros .............................................................................................. 341
B.2.7 #pragma fini .................................................................................................................... 341
B.2.8 #pragma hdrstop .............................................................................................................. 341
B.2.9 #pragma ident .................................................................................................................. 342
B.2.10 #pragma init .................................................................................................................. 342
B.2.11 #pragma must_have_frame .......................................................................................... 342
B.2.12 #pragma no_side_effect ............................................................................................. 343
目录
Sun Studio 12 Update 1:C++ 用户指南 • 2009 年 9 月16