using C++ STL containers in GCC/gfortran source code

Jonathan Wakely jwakely.gcc@gmail.com
Sat Dec 17 12:23:00 GMT 2016


Instead of replacing the global new operator we could write a custom
allocator that uses xmalloc, and we can have e.g. gcc::string as a
typedef for std::basic_string<char, std::char_traits<char>,
gcc::xmallocator<char>>



More information about the Gcc mailing list