19 namespace strings_internal
23 std::initializer_list<std::string_view> pieces)
26 for(
const auto& piece : pieces)
30 dest->reserve(dest->size() +
size);
31 for(
const auto& piece : pieces)
33 dest->append(piece.data(), piece.size());
37 inline std::string
CatPieces(std::initializer_list<std::string_view> pieces)
53 return std::string(a.data(), a.size());
68 template <
typename... AV>
81 destination->append(a.data(), a.size());
97 template <
typename... AV>
103 destination, { a, b, c, d,
static_cast<const std::string_view&
>(args)... });