Displaying 2 results from an estimated 2 matches for "sys_days".
2018 Aug 10
2
[cfe-dev] Filesystem has Landed in Libc++
...std::chrono::time_point<std::chrono::system_clock, Duration>
file_clock::to_sys(const std::chrono::time_point<file_clock, Duration>& t) noexcept
{
using namespace date;
return sys_time<Duration>{t.time_since_epoch()} +
(sys_days{2174_y/1/1} - sys_days{1970_y/1/1});
}
template <class Duration>
inline
std::chrono::time_point<file_clock, Duration>
file_clock::from_sys(const std::chrono::time_point<std::chrono::system_clock, Duration>& t) noexcept
{
using namespace date;...
2018 Jul 27
5
Filesystem has Landed in Libc++
Hi All,
I recently committed <filesystem> to trunk. I wanted to bring attention to
some quirks it currently has.
First, it's been put in a separate library, libc++fs, for now. Users are
responsible for linking the library when they use filesystem.
Second, it should still not be considered ABI stable. Vendors should be
aware of this before shipping it. Hopefully all the standard and