Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 7 years ago

Language

Compiler

Options

Author

anonymous

about 7 years ago

$
make_small_trivially_copyable() called
small_trivially_copyable constructed at 0x7ffec1255de0
small_trivially_copyable is at 0x7ffec1255de0, stc.self = 0x7ffec1255de0 (oops!)

small_not_trivially_copyable constructed at 0x7ffec1255dd0
small_not_trivially_copyable is at 0x7ffec1255dd0, stc.self = 0x7ffec1255dd0 (ok)

make_large_trivially_copyable() called
large_trivially_copyable constructed at 0x7ffec1255d90
large_trivially_copyable is at 0x7ffec1255d90

make_no_RVO() called
small_not_trivially_copyable constructed at 0x7ffec1255d50
small_not_trivially_copyable constructed at 0x7ffec1255d40
small_not_trivially_copyable copied from 0x7ffec1255d50 to 0x7ffec1255d80
small_not_trivially_copyable destroyed at 0x7ffec1255d40
small_not_trivially_copyable destroyed at 0x7ffec1255d50
small_not_trivially_copyable_no_RVO is at 0x7ffec1255d80

small_not_trivially_copyable destroyed at 0x7ffec1255d80
large_trivially_copyable destroyed at 0x7ffec1255d90
small_not_trivially_copyable destroyed at 0x7ffec1255dd0
small_trivially_copyable destroyed at 0x7ffec1255de0
Exit Code:
0