diff options
author | Murray Cumming <murrayc@murrayc.com> | 2010-03-26 11:35:10 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2010-03-26 11:35:10 +0100 |
commit | af8b0448e60f2a8521abcc1c0b94da9dff474214 (patch) | |
tree | 85ee66e3409a069a277f003fc3e00814ac6f28b4 /tests/glibmm_ustring_format | |
parent | bc774a7129c20ab62d002b9909bf46611fbaa84e (diff) | |
download | glibmm-af8b0448e60f2a8521abcc1c0b94da9dff474214.tar.gz |
2.23.42.23.4
Diffstat (limited to 'tests/glibmm_ustring_format')
-rw-r--r-- | tests/glibmm_ustring_format/main.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/glibmm_ustring_format/main.cc b/tests/glibmm_ustring_format/main.cc index 1d5dc92d..1ed73de6 100644 --- a/tests/glibmm_ustring_format/main.cc +++ b/tests/glibmm_ustring_format/main.cc @@ -9,14 +9,16 @@ int main(int, char**) char carr[10] = "UÅūduotys"; char * const cptr = carr; + /* std::wostringstream wsout; wsout << carr; const std::wstring& wstr = wsout.str(); const gunichar * const data = reinterpret_cast<const gunichar *>( wstr.data()); - //for(int i = 0; wstr.size() > i; ++i) - // std::cout << data[i] << std::endl; + for(int i = 0; wstr.size() > i; ++i) + std::cout << data[i] << std::endl; + */ //Check both the const char* and char* versions. Glib::ustring::format(carr); |