28.05.2016 21:34, Vlad Khorsun wrote:
> It is useful to see formatted string contents during debugging. Often it
> could
> be seen even in release build
Yes, but you can imagine what will happen if filename in example above
includes "%s".
--
WBR, SD.
28.05.2016 15:58, Dimitry Sibiryakov wrote:
>Hello, All.
>
>What is advantage of following code
>
>> string err_msg;
>> err_msg.printf("INTL module '%s' is of incompatible version number %d",
>> filename.c_str(), version);
>> gds__log(err_msg.c_str());
>
28.05.2016 15:58, Dimitry Sibiryakov wrote:
>
> What is advantage of following code
>
>> string err_msg;
>> err_msg.printf("INTL module '%s' is of incompatible version number %d",
>> filename.c_str(), version);
>> gds__log(err_msg.c_str());
>
> over simpl