I wish to use codecvt_utf8 to write UTF-8 data to a std::wofstream file in a MFC C++ application. Compiles and works OK in the Release configuration. Fails to compile in Debug configuration.Workaround is to delete the following lines always added by the MFC project Wizard. However, I do not wish to do this in my large MFC application.#ifdef _DEBUG#define new DEBUG_NEW#endifIt seems that the 'new' operator in std::codecvt_utf8 conflicts with the MFC 'DEBUG_NEW' operator.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Operating System Language