forked from HowardHinnant/date
Address remaining 'whitespace in literal' upsetting clang++-20
This commit is contained in:
committed by
Howard Hinnant
parent
b8d166b4b0
commit
d18e8b1653
@@ -758,8 +758,8 @@ operator<<(std::basic_ostream<CharT, Traits>& os, const year_month_weekday_last&
|
|||||||
inline namespace literals
|
inline namespace literals
|
||||||
{
|
{
|
||||||
|
|
||||||
CONSTCD11 islamic::day operator "" _d(unsigned long long d) NOEXCEPT;
|
CONSTCD11 islamic::day operator ""_d(unsigned long long d) NOEXCEPT;
|
||||||
CONSTCD11 islamic::year operator "" _y(unsigned long long y) NOEXCEPT;
|
CONSTCD11 islamic::year operator ""_y(unsigned long long y) NOEXCEPT;
|
||||||
|
|
||||||
} // inline namespace literals
|
} // inline namespace literals
|
||||||
#endif // !defined(_MSC_VER) || (_MSC_VER >= 1900)
|
#endif // !defined(_MSC_VER) || (_MSC_VER >= 1900)
|
||||||
@@ -1339,7 +1339,7 @@ inline namespace literals
|
|||||||
CONSTCD11
|
CONSTCD11
|
||||||
inline
|
inline
|
||||||
islamic::day
|
islamic::day
|
||||||
operator "" _d(unsigned long long d) NOEXCEPT
|
operator ""_d(unsigned long long d) NOEXCEPT
|
||||||
{
|
{
|
||||||
return islamic::day{static_cast<unsigned>(d)};
|
return islamic::day{static_cast<unsigned>(d)};
|
||||||
}
|
}
|
||||||
@@ -1347,7 +1347,7 @@ operator "" _d(unsigned long long d) NOEXCEPT
|
|||||||
CONSTCD11
|
CONSTCD11
|
||||||
inline
|
inline
|
||||||
islamic::year
|
islamic::year
|
||||||
operator "" _y(unsigned long long y) NOEXCEPT
|
operator ""_y(unsigned long long y) NOEXCEPT
|
||||||
{
|
{
|
||||||
return islamic::year(static_cast<int>(y));
|
return islamic::year(static_cast<int>(y));
|
||||||
}
|
}
|
||||||
|
@@ -747,7 +747,7 @@ inline namespace literals
|
|||||||
CONSTCD11
|
CONSTCD11
|
||||||
inline
|
inline
|
||||||
iso_week::year
|
iso_week::year
|
||||||
operator "" _y(unsigned long long y) NOEXCEPT
|
operator ""_y(unsigned long long y) NOEXCEPT
|
||||||
{
|
{
|
||||||
return iso_week::year(static_cast<int>(y));
|
return iso_week::year(static_cast<int>(y));
|
||||||
}
|
}
|
||||||
@@ -755,7 +755,7 @@ operator "" _y(unsigned long long y) NOEXCEPT
|
|||||||
CONSTCD11
|
CONSTCD11
|
||||||
inline
|
inline
|
||||||
iso_week::weeknum
|
iso_week::weeknum
|
||||||
operator "" _w(unsigned long long wn) NOEXCEPT
|
operator ""_w(unsigned long long wn) NOEXCEPT
|
||||||
{
|
{
|
||||||
return iso_week::weeknum(static_cast<unsigned>(wn));
|
return iso_week::weeknum(static_cast<unsigned>(wn));
|
||||||
}
|
}
|
||||||
|
@@ -758,8 +758,8 @@ operator<<(std::basic_ostream<CharT, Traits>& os, const year_month_weekday_last&
|
|||||||
inline namespace literals
|
inline namespace literals
|
||||||
{
|
{
|
||||||
|
|
||||||
CONSTCD11 julian::day operator "" _d(unsigned long long d) NOEXCEPT;
|
CONSTCD11 julian::day operator ""_d(unsigned long long d) NOEXCEPT;
|
||||||
CONSTCD11 julian::year operator "" _y(unsigned long long y) NOEXCEPT;
|
CONSTCD11 julian::year operator ""_y(unsigned long long y) NOEXCEPT;
|
||||||
|
|
||||||
// CONSTDATA julian::month jan{1};
|
// CONSTDATA julian::month jan{1};
|
||||||
// CONSTDATA julian::month feb{2};
|
// CONSTDATA julian::month feb{2};
|
||||||
@@ -1333,7 +1333,7 @@ inline namespace literals
|
|||||||
CONSTCD11
|
CONSTCD11
|
||||||
inline
|
inline
|
||||||
julian::day
|
julian::day
|
||||||
operator "" _d(unsigned long long d) NOEXCEPT
|
operator ""_d(unsigned long long d) NOEXCEPT
|
||||||
{
|
{
|
||||||
return julian::day{static_cast<unsigned>(d)};
|
return julian::day{static_cast<unsigned>(d)};
|
||||||
}
|
}
|
||||||
@@ -1341,7 +1341,7 @@ operator "" _d(unsigned long long d) NOEXCEPT
|
|||||||
CONSTCD11
|
CONSTCD11
|
||||||
inline
|
inline
|
||||||
julian::year
|
julian::year
|
||||||
operator "" _y(unsigned long long y) NOEXCEPT
|
operator ""_y(unsigned long long y) NOEXCEPT
|
||||||
{
|
{
|
||||||
return julian::year(static_cast<int>(y));
|
return julian::year(static_cast<int>(y));
|
||||||
}
|
}
|
||||||
|
@@ -792,8 +792,8 @@ operator<<(std::basic_ostream<CharT, Traits>& os, const year_month_weekday_last&
|
|||||||
inline namespace literals
|
inline namespace literals
|
||||||
{
|
{
|
||||||
|
|
||||||
CONSTCD11 solar_hijri::day operator "" _d(unsigned long long d) NOEXCEPT;
|
CONSTCD11 solar_hijri::day operator ""_d(unsigned long long d) NOEXCEPT;
|
||||||
CONSTCD11 solar_hijri::year operator "" _y(unsigned long long y) NOEXCEPT;
|
CONSTCD11 solar_hijri::year operator ""_y(unsigned long long y) NOEXCEPT;
|
||||||
|
|
||||||
} // inline namespace literals
|
} // inline namespace literals
|
||||||
#endif // !defined(_MSC_VER) || (_MSC_VER >= 1900)
|
#endif // !defined(_MSC_VER) || (_MSC_VER >= 1900)
|
||||||
@@ -1364,7 +1364,7 @@ inline namespace literals
|
|||||||
CONSTCD11
|
CONSTCD11
|
||||||
inline
|
inline
|
||||||
solar_hijri::day
|
solar_hijri::day
|
||||||
operator "" _d(unsigned long long d) NOEXCEPT
|
operator ""_d(unsigned long long d) NOEXCEPT
|
||||||
{
|
{
|
||||||
return solar_hijri::day{static_cast<unsigned>(d)};
|
return solar_hijri::day{static_cast<unsigned>(d)};
|
||||||
}
|
}
|
||||||
@@ -1372,7 +1372,7 @@ operator "" _d(unsigned long long d) NOEXCEPT
|
|||||||
CONSTCD11
|
CONSTCD11
|
||||||
inline
|
inline
|
||||||
solar_hijri::year
|
solar_hijri::year
|
||||||
operator "" _y(unsigned long long y) NOEXCEPT
|
operator ""_y(unsigned long long y) NOEXCEPT
|
||||||
{
|
{
|
||||||
return solar_hijri::year(static_cast<int>(y));
|
return solar_hijri::year(static_cast<int>(y));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user