Rimane allocata unicode in caso la seconda chiamata a mbstowcs fallisca.
Per il resto mi sembra tutto a posto (anche se io avrei usato le std::string per le conversioni).
Rimane allocata unicode in caso la seconda chiamata a mbstowcs fallisca.
Per il resto mi sembra tutto a posto (anche se io avrei usato le std::string per le conversioni).
This code and information is provided "as is" without warranty of any kind, either expressed
or implied, including but not limited to the implied warranties of merchantability and/or
fitness for a particular purpose.