Displaying 2 results from an estimated 2 matches for "to_stream".
2018 Aug 10
2
[cfe-dev] Filesystem has Landed in Libc++
...m_sys(sys_time<Duration>{t.time_since_epoch()})};
}
file_clock::time_point
file_clock::now()
{
return from_sys(std::chrono::system_clock::now());
}
template <class CharT, class Traits, class Duration>
std::basic_ostream<CharT, Traits>&
to_stream(std::basic_ostream<CharT, Traits>& os, const CharT* fmt,
const file_time<Duration>& t)
{
using namespace std::chrono;
const std::string abbrev("UTC");
constexpr std::chrono::seconds offset{0};
using D128 = duration<_...
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