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
I find the bug form class Template:
Template& operator=(Template&& oth) { bytecodes = std::move(oth.bytecodes); content = std::move(oth.content); return *this; }
the
struct Bytecode { ... std::string_view str; ... }
str references Template::content, when move the Template::content, Template::content will be changed, the Bytecode::str is invalid.
Template::content
Bytecode::str
You can reference basic_string_view#Notes
The text was updated successfully, but these errors were encountered:
You're right, but this is fixed in master. I will release an updated version as soon as possible.
Sorry, something went wrong.
No branches or pull requests
I find the bug form class Template:
the
str references
Template::content
, when move theTemplate::content
,Template::content
will be changed, theBytecode::str
is invalid.You can reference basic_string_view#Notes
The text was updated successfully, but these errors were encountered: