Subject: Re: [boost] [regex] Need some help with msvc-11/12
From: Marcel Raad (raad_at_[hidden])
Date: 2014-01-22 05:32:48


This seems to be a bug in VC12's std::collate::do_transform. If _Wcsxfrm
returns INT_MAX to indicate that the call to __crtLCMapStringW failed, the
string gets resized to INT_MAX elements. I will report this on Microsoft
Connect. The hang doesn't occur if you don't call transform for empty
strings.