Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1.   std::string   sink;
  2.   char const*   arg0   = "abc";
  3.   char          arg1[] = "def";
  4.   std::string   arg2   = "ghi";
  5.  
  6.   // Write the three arguments to the string sink
  7.   fastformat::write(sink, arg0, " ", arg1, " ", arg2);
  8.  
  9.   // Write the three arguments in reverse order to stdout and
  10.   // append a new line
  11.   fastformat::writeln(std::cout, " ", arg2, " ", arg1, " ", arg0);
  12.