Ad
  • Custom User Avatar

    Thanks a lot for your encouragements!

  • Custom User Avatar

    It's a const reference, which can be bound to pretty much everything (const/non-const, lvalue/rvalue). If you want to modify the temporary string then you may choose to accept it by value without breaking anything, but I don't think this should be default.