Paul Hamilton wrote:
> [...] I propose that we change the code:
>
> static const std::basic_string<Ch, Tr> emptyStr;
>
> To:
>
> const std::basic_string<Ch, Tr> emptyStr = "";
>
> Which basically does exactly the same thing.

= "" is not needed, it just forces a redundant strlen call (at least). As I
already pointed out,

std::basic_string<Ch, Tr> emptyStr;

is enough; or even

os.str(std::basic_string<Ch, Tr>());

(if it doesn't cause parser problems.)

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to