Closed
Description
Appending a character constant to a std::string
is faster than appending a string literal. Rationale: a temporary std::string
object does not need to be constructed.
Example:
https://github.com/open-source-parsers/jsoncpp/blob/master/src/lib_json/json_writer.cpp#L227
Metadata
Metadata
Assignees
Labels
No labels