Content deleted Content added
→Initializer list: I've corrected an important concept about initialization lists where variable values are not assigned but initialized |
|||
Line 46:
[[C++11]] provides for a [[C++11#Initializer_lists|more powerful concept of initializer lists]], by means of a template, called <tt>std::initializer_list</tt>.
<ref>intialize3</ref>===Default initialization===
Data initialization may occur without explicit syntax in a program to do so. For example, if [[static variable]]s are declared without an initializer, then those of [[primitive data type]]s are initialized with the value of zero of the corresponding type, while static objects of class type are initialized with their [[default constructor]]s.
[[inhfyk]]
<gallery>
<gallery>
Example.jpg|Caption1
Example.jpg|Caption2
</gallery>
#REDIRECT [[
{| class="wikitable"
|-
! Header text !! Header text !! Header text
|-
| Example || Example || Example
|-
| Example || Example || Example
|-
| Example || Example || Example
|}
]]
</gallery>
== See also ==
|