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

Function main

05.04-stdFmtStockIndexIostream0/main.cpp:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55int main()
56{
57 for(const auto& index : GetIndices()) {
58 std::cout << index.name() << " " << index.points() << " "
59 << index.pointsDiff() << " "
60 << index.pointsPercent() << '%' << '\n';
61 }
62}

Callers

nothing calls this directly

Calls 5

nameMethod · 0.80
GetIndicesFunction · 0.70
pointsMethod · 0.45
pointsDiffMethod · 0.45
pointsPercentMethod · 0.45

Tested by

no test coverage detected