#826 Build fix for ambiguity with >= libc++ 17

This commit is contained in:
Martin Zink
2024-05-10 16:26:43 -04:00
committed by Howard Hinnant
parent 6b1c1b8b3a
commit 8a93211679
23 changed files with 127 additions and 106 deletions
+1 -2
View File
@@ -29,12 +29,11 @@ void
test(const std::string& in_fmt, const std::string& input,
const std::string& out_fmt, const std::string& output)
{
using namespace date;
std::istringstream in{input};
T t;
in >> parse(in_fmt, t);
assert(!in.fail());
auto s = format(out_fmt, t);
auto s = date::format(out_fmt, t);
assert(s == output);
}