I am using wide string file stream std::wofstream to open a file and read its contents. I used header fstream. But when i compile this code on XCode 7, it is showing following error
No matching member function for call to 'open'
my code was like
header used <fstream>
std::wofstream out;
out.open(filename, std::ios::binary); <--- error
* filename is wide char string
NOTE: It is working on windows fine with Visual Studio 2015.