Hacker News new | ask | show | jobs
by School-Cotton 1488 days ago
std::string stores the length as part of the value, not as part of the type. (That’s probably what nicoburns meant, but it’s clear what caused the confusion).