Skip to content

Instantly share code, notes, and snippets.

@atorstling
Created November 28, 2021 20:15
Show Gist options
  • Select an option

  • Save atorstling/eba4e0de9f203422c8fa2ae88840b055 to your computer and use it in GitHub Desktop.

Select an option

Save atorstling/eba4e0de9f203422c8fa2ae88840b055 to your computer and use it in GitHub Desktop.
Variable uninitialized in its own initialization
struct Node {
Node clone() {
return *this;
}
};
int main() {
Node n = n.clone();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment