hackingcpp / comments

Comments regarding hackingcpp.com
1 stars 0 forks source link

cpp/lang/aggregates #45

Open utterances-bot opened 9 months ago

utterances-bot commented 9 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 9 months ago

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