Skip to content
Snippets Groups Projects
Commit f4f91f42 authored by Abseil Team's avatar Abseil Team Committed by Alex Strelnikov
Browse files

Changes imported from Abseil "staging" branch:

  - 1dde8a2a1868c32b32d62fba62eb37974f656948 Correct usage of CUnescape() in example. by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 1dde8a2a1868c32b32d62fba62eb37974f656948
Change-Id: I5183a74a3c682ac55b2bf4be0d871375e1302aae
parent 8b727aa7
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,10 @@ namespace absl {
// Example:
//
// std::string s = "foo\\rbar\\nbaz\\t";
// std::string unescaped_s = absl::CUnescape(s);
// std::string unescaped_s;
// if (!absl::CUnescape(s, &unescaped_s) {
// ...
// }
// EXPECT_EQ(unescaped_s, "foo\rbar\nbaz\t");
bool CUnescape(absl::string_view source, std::string* dest, std::string* error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment