I am quite confused with the raw_string_ostream (std::string &O). I have used this but having difficulty to understand it. May I know what I can do to become better at using this?
I assume you know that it’s defined in
llvm/include/llvm/Support/raw_ostream.h (and LLVM: llvm::raw_string_ostream Class Reference for nicer formatting). Is there anything in particular you’re confused by?
What does better look like to you, is there some existing code you want to be able to understand?