17.01.2013 19:08, Max Kellermann пишет: > I'm not sure. This missed chance for optimization is annoying, but > the advantages may outweigh that.
OK. Just let me know if you're willing to adopt this approach. If not I'll think about other possible solutions for improving Unicode support on Windows port. > In this case, the compiler is too stupid to apply the optimization. > Or the C++ ABI doesn't allow it, because it may not have been adapted > to C++11 capabilities yet. I think compiler is going to call destructor which requires `this` parameter pointing to some memory location. Apparently it is not smart enough to generate destructor variant that is able to destroy the object stored in a register. -- Denis ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team