Content deleted Content added
Reverted 7 edits by 82.33.220.162 (talk). (TW) |
→Initializer list: I've corrected an important concept about initialization lists where variable values are not assigned but initialized |
||
Line 32:
===Initializer list===
In C++, a [[constructor (object-oriented programming)|constructor]] of a class/struct can have an '''initializer list''' within the definition but prior to the constructor body. It
Example:
<source lang="c">
|