Struct and union initialization - cppreference.com

en.cppreference.com

Tin mới

You are encouraged to create an account and log in; however, it is not mandatory

You are encouraged to log in; however, it is not mandatory [o]

Discussion about the content page [t]

This page is protected. You can view its source [e]

Past revisions of this page [h]

c/compiler support

Variadic function support

Dynamic memory management

Date and time utilities

Input/output support

Localization support

Concurrency support

Technical Specifications

c/language/basic concepts

c/language/statements

c/language/expressions

c/language/initialization

c/language/declarations

c/language/functions

c/language/history

Scalar initialization

Array initialization

constant expression

Every expression in the initializer list must be a constant expression when initializing aggregates of any storage duration.

c/language/storage duration

As with all other initialization, every expression in the initializer list must be a constant expression when initializing aggregates of static or thread-local(since C11) storage duration:

order of evaluation

As with all other initialization, every expression in the initializer list must be a constant expression when initializing aggregates of static or thread-local(since C11) storage duration:

cpp/language/aggregate initialization

Special:Categories

Pages using deprecated source tags

Category:Todo with reason

A list of recent changes in the wiki [r]

A list of all wiki pages that link here [j]

Recent changes in pages linked from this page [k]

A list of all special pages [q]

Permanent link to this revision of this page

More information about this page