MCPcopy Create free account
hub / github.com/andreasfertig/programming-with-cpp20 / Aggregate

Class Aggregate

08.01-aggregateInit0/main.cpp:4–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2// SPDX-License-Identifier: MIT
3
4struct Aggregate {
5 int a = 5; // #A Equal in-class initializer
6 int b{7}; // #B Braced in-class initializer
7};
8
9int main()
10{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected