Skip to content

Add implicit conversion to std::string using operator std::string#21

Open
matan7890 wants to merge 1 commit intobemanproject:mainfrom
matan7890:feature/implicit-convert-to-std-string
Open

Add implicit conversion to std::string using operator std::string#21
matan7890 wants to merge 1 commit intobemanproject:mainfrom
matan7890:feature/implicit-convert-to-std-string

Conversation

@matan7890
Copy link
Copy Markdown

Although it is not mentioned in the official RFC, there is no reason for not having an std::string conversion operator, the same kind as the one in std::string_view.

If strict adherence to P3655R2 is preferred, feel free to close this PR — I’m submitting it mainly for future reference.

Although it is not mentioned in the official RFC, there is no reason for
not having std::string coversion, the same as std::string_view has.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant