Commit b6fdad9a by Antonio Borondo

Remove anonymous namespace

parent 7c385a48
...@@ -115,11 +115,9 @@ class input_buffer_adapter : public input_adapter_protocol ...@@ -115,11 +115,9 @@ class input_buffer_adapter : public input_adapter_protocol
const char* const limit; const char* const limit;
}; };
namespace template<typename WideStringType, size_t T>
struct wide_string_input_helper
{ {
template<typename WideStringType, size_t T>
struct wide_string_input_helper
{
// UTF-32 // UTF-32
static void fill_buffer(const WideStringType& str, size_t& current_wchar, std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, size_t& utf8_bytes_index, size_t& utf8_bytes_filled) static void fill_buffer(const WideStringType& str, size_t& current_wchar, std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, size_t& utf8_bytes_index, size_t& utf8_bytes_filled)
{ {
...@@ -170,11 +168,11 @@ namespace ...@@ -170,11 +168,11 @@ namespace
} }
} }
} }
}; };
template<typename WideStringType> template<typename WideStringType>
struct wide_string_input_helper<WideStringType, 2> struct wide_string_input_helper<WideStringType, 2>
{ {
// UTF-16 // UTF-16
static void fill_buffer(const WideStringType& str, size_t& current_wchar, std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, size_t& utf8_bytes_index, size_t& utf8_bytes_filled) static void fill_buffer(const WideStringType& str, size_t& current_wchar, std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, size_t& utf8_bytes_index, size_t& utf8_bytes_filled)
{ {
...@@ -231,8 +229,7 @@ namespace ...@@ -231,8 +229,7 @@ namespace
} }
} }
} }
}; };
}
template<typename WideStringType> template<typename WideStringType>
class wide_string_input_adapter : public input_adapter_protocol class wide_string_input_adapter : public input_adapter_protocol
......
...@@ -1993,11 +1993,9 @@ class input_buffer_adapter : public input_adapter_protocol ...@@ -1993,11 +1993,9 @@ class input_buffer_adapter : public input_adapter_protocol
const char* const limit; const char* const limit;
}; };
namespace template<typename WideStringType, size_t T>
struct wide_string_input_helper
{ {
template<typename WideStringType, size_t T>
struct wide_string_input_helper
{
// UTF-32 // UTF-32
static void fill_buffer(const WideStringType& str, size_t& current_wchar, std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, size_t& utf8_bytes_index, size_t& utf8_bytes_filled) static void fill_buffer(const WideStringType& str, size_t& current_wchar, std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, size_t& utf8_bytes_index, size_t& utf8_bytes_filled)
{ {
...@@ -2048,11 +2046,11 @@ namespace ...@@ -2048,11 +2046,11 @@ namespace
} }
} }
} }
}; };
template<typename WideStringType> template<typename WideStringType>
struct wide_string_input_helper<WideStringType, 2> struct wide_string_input_helper<WideStringType, 2>
{ {
// UTF-16 // UTF-16
static void fill_buffer(const WideStringType& str, size_t& current_wchar, std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, size_t& utf8_bytes_index, size_t& utf8_bytes_filled) static void fill_buffer(const WideStringType& str, size_t& current_wchar, std::array<std::char_traits<char>::int_type, 4>& utf8_bytes, size_t& utf8_bytes_index, size_t& utf8_bytes_filled)
{ {
...@@ -2109,8 +2107,7 @@ namespace ...@@ -2109,8 +2107,7 @@ namespace
} }
} }
} }
}; };
}
template<typename WideStringType> template<typename WideStringType>
class wide_string_input_adapter : public input_adapter_protocol class wide_string_input_adapter : public input_adapter_protocol
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment