mirror of
https://github.com/HowardHinnant/date.git
synced 2026-08-03 20:14:08 +02:00
#826 Build fix for ambiguity with >= libc++ 17
This commit is contained in:
committed by
Howard Hinnant
parent
6b1c1b8b3a
commit
8a93211679
@@ -83,6 +83,7 @@ int
|
||||
main()
|
||||
{
|
||||
using namespace iso_week;
|
||||
using iso_week::year;
|
||||
|
||||
static_assert(year{2015} == 2015_y, "");
|
||||
static_assert(int{year{2015}} == 2015, "");
|
||||
|
||||
Reference in New Issue
Block a user