mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-26 07:53:16 +08:00
Add extra parse_manip constructor to avoid ambiguity
This commit is contained in:
parent
e23c15bb36
commit
2f4411312b
@ -8071,6 +8071,15 @@ public:
|
||||
{}
|
||||
|
||||
#if HAS_STRING_VIEW
|
||||
parse_manip(const CharT* format, Parsable& tp,
|
||||
std::basic_string<CharT, Traits, Alloc>* abbrev = nullptr,
|
||||
std::chrono::minutes* offset = nullptr)
|
||||
: format_(format)
|
||||
, tp_(tp)
|
||||
, abbrev_(abbrev)
|
||||
, offset_(offset)
|
||||
{}
|
||||
|
||||
parse_manip(std::basic_string_view<CharT> format, Parsable& tp,
|
||||
std::basic_string<CharT, Traits, Alloc>* abbrev = nullptr,
|
||||
std::chrono::minutes* offset = nullptr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user