简单的问题,如何以尽可能少的代码正确转换std::chrono::time_point为 a std::string?
std::chrono::time_point
std::string
注意:我不想将cout它与put_time(). 接受 C++11 和 C++14 解决方案。
cout
put_time()
c++ string c++11 c++-chrono c++14
c++ ×1
c++-chrono ×1
c++11 ×1
c++14 ×1
string ×1