This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/63999] Explicit conversion operators are not considered for explicit cast using braces


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63999

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
   Last reconfirmed|2014-11-20 00:00:00         |2016-5-21

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This breaks https://github.com/HowardHinnant/date

iso_week.h: In constructor âconstexpr
iso_week::weekday::weekday(date::weekday)â:
iso_week.h:434:38: error: cannot convert âdate::weekdayâ to âunsigned intâ in
initialization
     : wd_(to_iso_encoding(unsigned{wd}))
                                      ^

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]