bsf
bsf copied to clipboard
std::make_shared performs 2 allocations on GCC/Clang when RTTI disabled
EDITED SUMMARY Not real solution for this other than waiting for GCC/Clang to fix it. If this is causing you problems manually enable RTTI.
ORIGINAL ISSUE Please note that shared_ptr will perform 2 allocs when rtti is disabled
This holds true for gcc<8 and clang <= 6.0
Thanks for the heads up, that sucks but hopefully they resolve it in clang soon and we move to newer compilers. Worst case scenario someone will need to enable rtti if it causes too many issues.