От: | Павел Кузнецов | ||
Дата: | 25.07.03 18:12 | ||
Оценка: | 3 (1) +1 |
3.6.2 Initialization of non-local objects
1 The storage for objects with static storage duration (3.7.1) shall be zero-initialized (8.5)
before any other initialization takes place. Zero-initialization and initialization with a constant
expression are collectively called static initialization; all other initialization is dynamic
initialization. Objects of POD types (3.9) with static storage duration initialized with constant
expressions (5.19) shall be initialized before any dynamic initialization takes place.