Created by Adriana Vincelli-Joma
over 3 years ago
|
||
preprocessor substitution
BUFSIZE
constant folding
const in header file
internal linkage
const and aggregates
C handling const
C++ handling const
making pointer const
const int* u
int const* v
int d = 1
int* const w = &d
const pointer
type checking enforced when using const
when type checking not enforced when using const
passing by const value
returning by const value
temporary objects
passing addresses
returning addresses
argument passing
use of const in class
constructor initializer list
constructor for built-in type
static const
const object
volatile
const volatile