Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- class Foo
- {
- public:
- Foo() = default;
- Foo(const Foo&) = delete;
- };
- Foo make_foo()
- {
- Foo foo;
- return foo;
- }
- int _tmain(int, _TCHAR*)
- {
- Foo foo = make_foo();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement