We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We need a way of supporting a syntax like:
std2::string_constant<char> str = "hello, world!"sc;
Currently, this doesn't seem possible as there's no constructor for string_constant from a char pointer, such as here:
string_constant
#feature on safety #include <std2.h> using namespace std2; inline auto operator""sv2(std2::string_constant<char> sc) noexcept safe -> string_view/static { return string_view(sc); } int main() { string_view sv = "Hello"sv2; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We need a way of supporting a syntax like:
Currently, this doesn't seem possible as there's no constructor for
string_constant
from a char pointer, such as here:The text was updated successfully, but these errors were encountered: