f761dc72f4
std::string s(""); s = ""; calls the copy constructor, which in turn calls strlen(), … assigning a default-constructed string generates fewer instructions and is therefore preferred. With C++11 uniform initialization, you’d simply write s = { } instead. |
||
---|---|---|
.. | ||
MMDCpp14.h | ||
MMDImporter.cpp | ||
MMDImporter.h | ||
MMDPmdParser.h | ||
MMDPmxParser.cpp | ||
MMDPmxParser.h | ||
MMDVmdParser.h |