Skip to content
  • Daniel Boles's avatar
    ustring: TODO to avoid copies from operator string · 539a89fe
    Daniel Boles authored
    Our conversion operator to std::string always returns a copy but that is
    wasteful when it could be a const& reference or moved-out from an rvalue
    – especially bad since conversions can occur silently & harm performance
    without users realising. We can split to const&/&& overloads at next ABI
    539a89fe