top | item 27219013

(no title)

dmitrykoval | 4 years ago

Both are legal statements.

The second one is a direct initialization, invoking corresponding constructor.

The first one first invokes default constructor and then copy or move assignment depending on rvalueness of the arg.

discuss

order

No comments yet.