- $ clang++ -std=gnu++11 -g std_string_custom_new1.cpp
- std_string_custom_new1.cpp:21:7: error: 'basic_string' is not a class, namespace, or enumeration
- void *basic_string::operator new(size_t size)
- ^
- /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/basic_string.h:77:11: note: 'basic_string' declared here
- class basic_string
- ^
- 1 error generated.
Error message for Custom basic_string::operator new()
Posted by Anonymous on Mon 13th Jun 2022 15:58
raw | new post
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.