hackingcpp / comments

Comments regarding hackingcpp.com
0 stars 0 forks source link

cpp/lang/aggregates #45

Open utterances-bot opened 5 months ago

utterances-bot commented 5 months ago

C++ Simple Aggregate Types | hacking C++

Shows the simplest way of forming data aggregates in C++. How to declare and use aggregate types and how objects are copied.

https://hackingcpp.com/cpp/lang/aggregates.html

JohannJo commented 5 months ago

I think a semicolon ; is missing on the last line: A a {}