MSC doesn't do inheriting constructors yet

This commit is contained in:
Howard Hinnant 2016-05-12 10:04:39 -04:00
parent 95271f8337
commit 5e799d7992

4
date.h
View File

@ -3657,14 +3657,14 @@ class time_of_day
{ {
using base = detail::time_of_day_storage<Duration>; using base = detail::time_of_day_storage<Duration>;
public: public:
#if !defined(_MSC_VER) || (_MSC_VER >= 1900) #ifndef _MSC_VER
using base::base; using base::base;
#else #else
template <class ...Args> template <class ...Args>
explicit time_of_day(Args&& ...args) explicit time_of_day(Args&& ...args)
: base(std::forward<Args>(args)...) : base(std::forward<Args>(args)...)
{} {}
#endif // !defined(_MSC_VER) || (_MSC_VER >= 1900) #endif // _MSC_VER
}; };
template <class Rep, class Period, template <class Rep, class Period,