News for hackers. Stuff that matters.
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);

There are no comments on this comment yet.