User profile: LsDefect

User info
User name:LsDefect
History
Joined:
Number of posts:58
Latest posts:

Parameters and move semantics
I think I've actually got a handle on this now - thank you very much!

Parameters and move semantics
[quote]Have you looked at std::string_view?[/quote] Oh cool, so I should use this in every single in...

Parameters and move semantics
Hmm so I'm thinking I should make a third overload for passing literals? [code] std::string error; ...

Parameters and move semantics
Hi, [quote]The std::string object would still have to copy the char data when constructed.[/quote] ...

Parameters and move semantics
Here's some error logging code in my program (basically): [code] void SetError(std::string&& arg...