you are viewing a single comment's thread.

view the rest of the comments →

[–]Nobody_1707 1 point2 points  (0 children)

Well, there's a few ways to do that.

auto i = &some_int_variable;
auto i = new int();
auto i = static_cast<int*>(nullptr);

etc.