News for hackers. Stuff that matters.
Re:EASTL: An Alternative C++ Standard Library by mike_hock on Wednesday August 04, 2021 @01:14PM (#28063598)
std::cout << std::vector<char>{'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd', '\0'}.data() << std::endl;

I'm too cheap to pay triple the price for a little bit of convenience.

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);