Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raw string literals missing from C++11 feature list #75

Open
galkinvv opened this issue Jan 21, 2020 · 0 comments
Open

Raw string literals missing from C++11 feature list #75

galkinvv opened this issue Jan 21, 2020 · 0 comments

Comments

@galkinvv
Copy link

@galkinvv galkinvv commented Jan 21, 2020

The doc is great! Hoewever some areas are still missing.
C++11 intoduced raw string literals: https://en.cppreference.com/w/cpp/language/string_literal

It is useful in many different areas, like strings with quotes, multiline strings and for example windows paths without escaping backslashes:

const char win_path[] = R"(c:\some\unescaped\path)";

The same cppreference link also mentions u8/u16/u32 literals, but I'm not sure that their addition is major enough to include in a high-level list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.