| 44 | |
| 45 | template <typename Duration> |
| 46 | static std::chrono::time_point<const_clock, |
| 47 | typename std::common_type<Duration, date::days>::type> |
| 48 | CONSTCD11 from_sys( |
| 49 | std::chrono::time_point<std::chrono::system_clock, Duration> const& |
| 50 | tp) |
| 51 | { |
| 52 | using res = std::chrono::time_point<const_clock, |
| 53 | typename std::common_type<Duration, date::days>::type>; |
| 54 | return res(tp - epoch); |
| 55 | } |
| 56 | }; |
| 57 | |
| 58 | int main() |
nothing calls this directly
no outgoing calls
no test coverage detected