move wstring related functions to wide_char file

This commit is contained in:
Andrzej Rybczak
2012-09-08 18:42:59 +02:00
parent d5e2d315fd
commit 84326efc46
23 changed files with 204 additions and 151 deletions

View File

@@ -23,6 +23,7 @@
#include <list>
#include "utility/numeric_conversions.h"
#include "utility/wide_string.h"
#include "window.h"
namespace NC {//
@@ -306,7 +307,7 @@ template <typename CharT> void basic_buffer<CharT>::write(
) const
{
std::basic_string<CharT> s = m_string;
size_t len = Window::length(s);
size_t len = wideLength(s);
if (len > width)
{