Source code
Revision control
Copy as Markdown
Other Tools
#define NULL __null
namespace std {
template <typename T>
struct unique_ptr {
T& operator*() const;
T* operator->() const;
T* get() const;
explicit operator bool() const noexcept;
};
}
struct A {
};
void foo() {
A& b2 = *std::unique_ptr<A>().get();
}