This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: system_error::what
> As a matter of fact, why going through __make_error_string?
That was to make all the string formatting in just only one place. And
maybe in the future you'll want that ": " localized too (" : " in
French, for example). Sure, with constructor delegation this will
hardly matter.
> simply apply my simpler version for this issue, while waiting for you
> Copyright assignment and therefore your future contributions.
Ok, that's fine for me. And I'm already managing my CA.
> And well, for the future, remember
> to never pass std::string by value!
Oh! I know that, it was just a too-clever way to avoid a local variable!
Regards and thank you for your comments.
--
Rodrigo.