How to make std::format-like function fast for custom output types
I have a string-like type and would like to implement a std::format
-like function to create instances of my string-like type. A minimal working example of what I am doing is a string type with a custom allocator: