Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3: C++ User's Guide Oracle Solaris Studio 12.3 Information Library |
3. Using the C++ Compiler Options
6. Creating and Using Templates
9.1 Avoiding Temporary Objects
9.4.1 Choosing to Pass Classes Directly
9.4.2 Passing Classes Directly on Various Processors
10. Building Multithreaded Programs
12. Using the C++ Standard Library
You can improve the performance of C++ functions by writing those functions in a manner that helps the compiler do a better job of optimizing them. Many books have been written on software performance in general and C++ in particular. Rather than repeat such valuable information, this chapter discusses only those performance strategies that strongly affect the C++ compiler.