Replace using with typedef for compatibility with gcc-4.6
This commit is contained in:
1 parent
9710c058aa
commit
affb35cfb9
8 files changed
+63
-49
No files matched your search
+6
-4
@@ -854,10 +854,12 @@ class basic_context :
|
||||
};
|
||||
|
||||
template <typename Char>
|
||||
using buffer_context_t = basic_context<
|
||||
std::back_insert_iterator<internal::basic_buffer<Char>>, Char>;
|
||||
typedef buffer_context_t<char> context;
|
||||
typedef buffer_context_t<wchar_t> wcontext;
|
||||
struct buffer_context {
|
||||
typedef basic_context<
|
||||
std::back_insert_iterator<internal::basic_buffer<Char>>, Char> type;
|
||||
};
|
||||
typedef buffer_context<char>::type context;
|
||||
typedef buffer_context<wchar_t>::type wcontext;
|
||||
|
||||
namespace internal {
|
||||
template <typename Context, typename T>
|
||||
|
||||
Reference in new issue
Block a user