I have a std::wstring defined like so:

std::wstring OutputString;

I then use the following code to try to append to it:

OutputString.append(boost::gregorian::to_iso_extended_string(d));

I receive the following errors:

 
std::wstring::append() expects std::wstring as its argument, not std::string;