http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13860

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.10.0

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The first test compiles now (it's implementation-defined whether it works or
not).

The other two fail a static assertion:

In file included from 2.cc:1:0:
/usr/include/c++/4.10.0/fstream: In instantiation of ‘class
std::basic_filebuf<char, MyTraits>’:
/usr/include/c++/4.10.0/fstream:809:22:   required from ‘class
std::basic_fstream<char, MyTraits>’
2.cc:10:37:   required from here
/usr/include/c++/4.10.0/fstream:84:7: error: static assertion failed: pos_type
must be fpos<state_type>
       static_assert(is_same<typename _Traits::pos_type,
       ^

Reply via email to