mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 16:41:04 +08:00
MSC doesn't do inheriting constructors yet
This commit is contained in:
parent
95271f8337
commit
5e799d7992
4
date.h
4
date.h
@ -3657,14 +3657,14 @@ class time_of_day
|
||||
{
|
||||
using base = detail::time_of_day_storage<Duration>;
|
||||
public:
|
||||
#if !defined(_MSC_VER) || (_MSC_VER >= 1900)
|
||||
#ifndef _MSC_VER
|
||||
using base::base;
|
||||
#else
|
||||
template <class ...Args>
|
||||
explicit time_of_day(Args&& ...args)
|
||||
: base(std::forward<Args>(args)...)
|
||||
{}
|
||||
#endif // !defined(_MSC_VER) || (_MSC_VER >= 1900)
|
||||
#endif // _MSC_VER
|
||||
};
|
||||
|
||||
template <class Rep, class Period,
|
||||
|
Loading…
x
Reference in New Issue
Block a user