| 104 | } |
| 105 | |
| 106 | void WithStdFormat() |
| 107 | { |
| 108 | for(const auto& index : GetIndices()) { |
| 109 | std::cout << std::format( |
| 110 | "{:10} {:>8.2f} {:>6.2f} {:.2f}%\n", |
| 111 | index.name(), |
| 112 | index.points(), |
| 113 | index.pointsDiff(), |
| 114 | index.pointsPercent()); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | int main() |
| 119 | { |
no test coverage detected