It doesn't play nicely with Intel TBB either. That platform-dependent string is really, really useful for unit tests though. We just made a new macro in another header:
{
#define USTR(x) _XPLATSTR(x)
}// namespace utility
Damien
ifndef USTR_HPP
define USTR_HPP
include "cpprest/details/basic_types.h"
namespace utility{
#define USTR(x) _XPLATSTR(x)
}// namespace utility
endif
You can then just search-replace to use USTR. Still short and easy to type.Damien