allow to use iostream and sstream without wchar support, as pointed by Scott

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-04-02 18:52:10 +00:00
commit 5702970de9
7 changed files with 67 additions and 19 deletions

View file

@ -1,12 +1,8 @@
%{
#include <cwchar>
%}
%include <wchar.i>
%include <std/std_basic_string.i>
/* wide strings */
namespace std
{
%std_comp_methods(basic_string<wchar_t>);
@ -14,3 +10,4 @@ namespace std
}
%template(wstring) std::basic_string<wchar_t>;