News

The field offset is wrong for the Windows compiler for std::string when placed in structures. This is only windows, but I've only run the vs2019 compiler. On windows the std::string has the size of 32 ...
string-view lite is a single-file header-only library to provide a non-owning reference to a string. The library provides a C++17-like string_view for use with C++98 and later. If available, ...
I recently had reason to run some of my code ( I'm on OSX 10.5 ) using Xcode's guard malloc, and boy did it explode. It's odd, because the code runs fine in release mode. In fact, the code's ...
This one has me stumped. I have a small memory leak, but using the CRT alloc breaks, I get pointed to this method in my code: void TrimStringLeft(string& ...