Clarified a comment on std::cout

This commit is contained in:
Patrick Urbanke
2023-11-19 12:35:51 +01:00
parent f994061ade
commit 958a124e75
+1 -1
View File
@@ -97,7 +97,7 @@ const auto homer =
const std::string json_string = rfl::json::write(homer);
std::cout << json_string << std::endl;
// We can also directly write into the stream.
// We can also directly write into std::cout (or any other std::ostream).
rfl::json::write(homer, std::cout) << std::endl;
```