This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/63999] Explicit conversion operators are not considered for explicit cast using braces
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 21 May 2016 14:55:31 +0000
- Subject: [Bug c++/63999] Explicit conversion operators are not considered for explicit cast using braces
- Auto-submitted: auto-generated
- References: <bug-63999-4 at http dot gcc dot gnu dot org/bugzilla/>
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}))
^