Skip to content

raw string literals would make quoted_string example clearer #239

@LegalizeAdulthood

Description

@LegalizeAdulthood

bp::parse("\"some \\\"text\\\"\"", bp::quoted_string, bp::ws);

instead of

"\"some \\\"text\\\"\""

use

R"text("some \"text\"")text"

then the backslashes intended for the parser are clear instead of doubling up all the backslashes for C++ string quoting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions