Skip to content

Instantly share code, notes, and snippets.


danlark1/ Secret

Created Oct 8, 2020
What would you like to do?
void func() {
std::unique_ptr<Foo> smart_foo = ...;
Foo* owned_foo = smart_foo.get();
// <<<Crash expected here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment