- Oracle® Solaris Studio 12.4: C++ User's Guide
- Document Information
- Using This Documentation
- Part I C++ Compiler
- Part II Writing C++ Programs
- Part III Libraries
- Part IV Appendixes
- Appendix A C++ Compiler Options
- A.1 How Option Information Is Organized
- A.2 Option Reference
- A.2.1 -#
- A.2.2 -###
- A.2.3 –Bbinding
- A.2.4 –c
- A.2.5 –cg{89|92}
- A.2.6 –compat={5|g}
- A.2.7 +d
- A.2.8 -Dname[=def]
- A.2.9 –d{y|n}
- A.2.10 –dalign
- A.2.11 –dryrun
- A.2.12 –E
- A.2.13 -erroff[=t]
- A.2.14 -errtags[=a]
- A.2.15 -errwarn[=t]
- A.2.16 –fast
- A.2.17 –features=a[,a...]
- A.2.18 -filt[=filter[,filter...]]
- A.2.19 –flags
- A.2.20 -fma[={none|fused}]
- A.2.21 –fnonstd
- A.2.22 –fns[={yes|no}]
- A.2.23 -fopenmp
- A.2.24 –fprecision=p
- A.2.25 –fround=r
- A.2.26 –fsimple[=n]
- A.2.27 –fstore
- A.2.28 -ftrap=t[,t...]
- A.2.29 –G
- A.2.30 -g
- A.2.31 –g[n]
- A.2.32 –H
- A.2.33 –h[ ]name
- A.2.34 –help
- A.2.35 -Ipathname
- A.2.36 -I-
- A.2.37 –i
- A.2.38 include
filename
- A.2.39 -inline
- A.2.40 –instances=a
- A.2.41 –instlib=filename
- A.2.42 –KPIC
- A.2.43 –Kpic
- A.2.44 –keeptmp
- A.2.45 –Lpath
- A.2.46 –llib
- A.2.47 –libmieee
- A.2.48 –libmil
- A.2.49 -library=l[,l...]
- A.2.50 m32|m64
- A.2.51 -mc
- A.2.52 –misalign
- A.2.53 -mr[,string]
- A.2.54 -mt[={yes|no}]
- A.2.55 –native
- A.2.56 –noex
- A.2.57 –nofstore
- A.2.58 –nolib
- A.2.59 –nolibmil
- A.2.60 –norunpath
- A.2.61 –O
- A.2.62 –Olevel
- A.2.63 –o
filename
- A.2.64 +p
- A.2.65 –P
- A.2.66 –p
- A.2.67 –pentium
- A.2.68 –pg
- A.2.69 -PIC
- A.2.70 –pic
- A.2.71 –preserve_argvalues[=simple|none]
- A.2.72 –pta
- A.2.73 –ptipath
- A.2.74 –pto
- A.2.75 –ptv
- A.2.76 –Qoption
phase option[,option…]
- A.2.77 –qoption
phase option
- A.2.78 –qp
- A.2.79 –Qproduce
sourcetype
- A.2.80 –qproduce
sourcetype
- A.2.81 –Rpathname[:pathname…]
- A.2.82 –S
- A.2.83 –s
- A.2.84 -staticlib=l[,l…]
- A.2.85 -std=v
- A.2.86 -sync_stdio=[yes|no]
- A.2.87 –temp=path
- A.2.88 –template=opt[,opt…]
- A.2.89 –time
- A.2.90 -traceback[={%none|common|signals_list}]
- A.2.91 –Uname
- A.2.92 –unroll=n
- A.2.93 –V
- A.2.94 –v
- A.2.95 –verbose=v[,v…]
- A.2.96 -Wc,arg
- A.2.97 +w
- A.2.98 +w2
- A.2.99 –w
- A.2.100 -Xlinker
arg
- A.2.101 –Xm
- A.2.102 -xaddr32
- A.2.103 -xalias_level[=n]
- A.2.104 -xanalyze={code|%none}
- A.2.105 -xannotate[=yes|no]
- A.2.106 –xar
- A.2.107 –xarch=isa
- A.2.108 -xautopar
- A.2.109 -xbinopt={prepare|off}
- A.2.110 -xbuiltin[={%all|%default|%none}]
- A.2.111 –xcache=c
- A.2.112 -xchar[=o]
- A.2.113 -xcheck[=i[,i]]
- A.2.114 -xchip=c
- A.2.115 –xcode=a
- A.2.116 -xdebugformat=[stabs|dwarf]
- A.2.117 -xdebuginfo=a[,a...]
- A.2.118 -xdepend=[yes|no]
- A.2.119 -xdumpmacros[=value[,value...]]
- A.2.120 -xe
- A.2.121 xF[=v[,v...]]
- A.2.122 -xglobalize[={yes|no}]
- A.2.123 -xhelp=flags
- A.2.124 -xhwcprof
- A.2.125 -xia
- A.2.126 -xinline[=func-spec[,func-spec...]]
- A.2.127 xinline_param=a[,a[,a]...]
- A.2.128 xinline_report[=n]
- A.2.129 xinstrument=[no%]datarace
- A.2.130 -xipo[={0|1|2}]
- A.2.131 -xipo_archive=[a]
- A.2.132 -xipo_build=[yes|no]
- A.2.133 -xivdep[=p]
- A.2.134 -xjobs{=n|auto}
- A.2.135 -xkeep_unref[={[no%]funcs,[no%]vars}]
- A.2.136 -xkeepframe[=[%all,%none,name,no%name]]
- A.2.137 -xlang=language[,language]
- A.2.138 -xldscope={v}
- A.2.139 -xlibmieee
- A.2.140 -xlibmil
- A.2.141 –xlibmopt
- A.2.142 –xlic_lib=sunperf
- A.2.143 –xlicinfo
- A.2.144 -xlinkopt[=level]
- A.2.145 -xloopinfo
- A.2.146 –xM
- A.2.147 -xM1
- A.2.148 -xMD
- A.2.149 -xMF
- A.2.150 -xMMD
- A.2.151 –xMerge
- A.2.152 -xmaxopt[=v]
- A.2.153 -xmemalign=ab
- A.2.154 -xmodel=[a]
- A.2.155 –xnolib
- A.2.156 –xnolibmil
- A.2.157 –xnolibmopt
- A.2.158 xnorunpath
- A.2.159 -xOlevel
- A.2.160 -xopenmp[={parallel|noopt|none}]
- A.2.161 -xpagesize=n
- A.2.162 -xpagesize_heap=n
- A.2.163 -xpagesize_stack=n
- A.2.164 -xpatchpadding[={fix|patch|size}]
- A.2.165 -xpch=v
- A.2.166 -xpchstop=file
- A.2.167 -xpec[={yes|no}]
- A.2.168 –xpg
- A.2.169 -xport64[=(v)]
- A.2.170 -xprefetch[=a[,a...]]
- A.2.171 -xprefetch_auto_type=a
- A.2.172 -xprefetch_level[=i]
- A.2.173 -xprevise={yes|no}
- A.2.174 –xprofile=p
- A.2.175 -xprofile_ircache[=path]
- A.2.176 -xprofile_pathmap
- A.2.177 -xreduction
- A.2.178 –xregs=r[,r...]
- A.2.179 -xrestrict[=f]
- A.2.180 –xs[={yes|no}]
- A.2.181 –xsafe=mem
- A.2.182 -xsegment_align=n
- A.2.183 –xspace
- A.2.184 –xtarget=t
- A.2.185 -xtemp=path
- A.2.186 -xthreadvar[=o]
- A.2.187 -xthroughput[={yes|no}]
- A.2.188 –xtime
- A.2.189 -xtrigraphs[={yes|no}]
- A.2.190 -xunboundsym={yes|no}
- A.2.191 –xunroll=n
- A.2.192 -xustr={ascii_utf16_ushort|no}
- A.2.193 -xvector[=a]
- A.2.194 -xvis[={yes|no}]
- A.2.195 xvpara
- A.2.196 –xwe
- A.2.197 -Yc,path
- A.2.198 -z[ ]arg
- Appendix B Pragmas
- Glossary
- Index
I
- I/O libraryUsing the Classic iostream Library
- idempotencyHeader Files
- ifstream, definedBasic Structure of iostream Interaction
- include directories, template definition filesSource File Location Conventions
- include files, search order
- -I-
- -Ipathname
- incompatibility, compiler versionsTemplate Cache Considerations
- initialization function#pragma init
- inline expansion, assembly language templatesComponents of the C++ Compilation System
- inline functions
- by optimizer-xinline[=func-spec[,func-spec...]]
- C++, when to useUsing Inline Functions
- input
- binaryBinary Input
- error handlingHandling Input Errors
- iostreamInput Using iostream
- peeking atPeeking at Input
- input/output, complexUsing the Classic iostream Library
- insertion
- definediostream Terminology
- operatorOutput Using iostream
- insertion operator
- iostream
- Defining Your Own Insertion Operator
- Output Using iostream
- instance methods
- explicitExplicit Instances
- globalGlobal Instances
- semi-explicitSemi-Explicit Instances
- staticStatic Instances
- templateTemplate Instance Placement and Linkage
- instance states, consistentTemplate Instance Automatic Consistency With -instances=extern
- instantiation
- optionsTemplate Instance Placement and Linkage
- template class static data membersExplicit Instantiation of Template Class Static Data
Members
- template classesExplicit Instantiation of Template Classes
- template function membersExplicit Instantiation of Template Class Function
Members
- template functionsExplicit Instantiation of Template Functions
- internationalization, implementationNative-Language Support
- interprocedural optimizations-xipo[={0|1|2}]
- interval arithmetic libraries, linking-xia
- intrinsics, Intel MMXCompiler Support for Intel MMX and Extended x86 Platform
Intrinsics
- iomanip.h, iostream header files
- iostream Predefined Manipulators
- iostream Routine Header Files
- iostream.h, iostream header fileiostream Routine Header Files
- iostream
- classic iostreams
- iostream Library
- C++ Library Descriptions
- constructorsBasic Structure of iostream Interaction
- copyingAssignment of iostreams
- creatingCreating iostreams
- definediostream Terminology
- error bitsHandling Output Errors
- error handlingHandling Input Errors
- flushingFlushing
- formatsFormat Control
- header filesUsing the Classic iostream Library
- inputInput Using iostream
- library
- Linking C++ Libraries
- iostream Library
- Libraries Shipped With the C++ Compiler
- man pages
- iostream Man Pages
- Using the Classic iostream Library
- manipulatorsManipulators
- mixing old and new formsInteractions
- output errorsHandling Output Errors
- output toOutput Using iostream
- predefinedPredefined iostreams
- standard iostreams
- iostream Library
- C++ Library Descriptions
- standard mode
- iostream Routine Header Files
- Using the Classic iostream Library
- stdio
- stdiobuf: iostreams for stdio Files
- Using iostreams With stdio
- stream assignmentAssignment of iostreams
- structureBasic Structure of iostream Interaction
- terminologyiostream Terminology
- usingUsing the Classic iostream Library
- iostreams, classicNote About Classic iostreams
- ISO C++ standard
- conformanceStandards Conformance
- one-definition rule
- Sharing Template Repositories
- Referencing Static Variables and Static Functions
- ISO10646 UTF-16 string literalValues
- istream class, definedBasic Structure of iostream Interaction
- istrstream class, definedBasic Structure of iostream Interaction