Re:EASTL: An Alternative C++ Standard Library
by Subsentient on Wednesday August 04, 2021 @10:58PM
(#28069287)
static const char StringLiteral[] = "hello world";
std::vector<char> Derp;
Derp.resize(sizeof StringLiteral);
memcpy(Derp.data(), StringLiteral, sizeof StringLiteral);
I'm too cheap to pay triple the price for a little bit of convenience.