Skip to content

Commit

Permalink
[format.formatter.spec] Add missing include to example (#6636)
Browse files Browse the repository at this point in the history
The example code refers to `std::string` directly so it should `#include<string>`.
  • Loading branch information
CaseyCarter authored Oct 30, 2023
1 parent a27ede6 commit 84c526e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16981,6 +16981,7 @@
\begin{example}
\begin{codeblock}
#include <format>
#include <string>

enum color { red, green, blue };
const char* color_names[] = { "red", "green", "blue" };
Expand Down

0 comments on commit 84c526e

Please sign in to comment.