+2015-12-01 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/experimental/bits/fs_path.h (path::_Cmpt): Move definition
+ after __is_encoded_char explicit specializations.
+
2015-11-26 Jonathan Wakely <jwakely@redhat.com>
* testsuite/libstdc++-prettyprinters/debug.cc: Add -std=gnu++98 to
std::string _M_what = _M_gen_what();
};
- struct path::_Cmpt : path
- {
- _Cmpt(string_type __s, _Type __t, size_t __pos)
- : path(std::move(__s), __t), _M_pos(__pos) { }
-
- _Cmpt() : _M_pos(-1) { }
-
- size_t _M_pos;
- };
-
template<>
struct path::__is_encoded_char<char> : std::true_type
{ using value_type = char; };
struct path::__is_encoded_char<char32_t> : std::true_type
{ using value_type = char32_t; };
+ struct path::_Cmpt : path
+ {
+ _Cmpt(string_type __s, _Type __t, size_t __pos)
+ : path(std::move(__s), __t), _M_pos(__pos) { }
+
+ _Cmpt() : _M_pos(-1) { }
+
+ size_t _M_pos;
+ };
+
// specialize _Cvt for degenerate 'noconv' case
template<>
struct path::_Cvt<path::value_type>