|
cxxmcp 1.1.6
C++ MCP SDK
|
String-like literal wrapper safe for inline public constants. More...
#include <string_constant.hpp>
String-like literal wrapper safe for inline public constants.
inline const std::string and inline const std::string& constants both require dynamic initialization in each consuming binary. Some MinGW/clang and libc++ configurations are sensitive to that during process startup. This wrapper keeps constants as literal pointers while preserving normal string usage at call sites.