[Nfd-dev] Question about std::chrono::duration conversion to/from time::duration
Alex Afanasyev
alexander.afanasyev at UCLA.EDU
Thu Nov 13 13:54:50 PST 2014
We have decided to stay with boost::chrono, as it provides more functionality for IO operations with time. However, in some cases, ndn-cxx dependent applications will be using <thread> and std::thread, and in particularly std::this_thread::sleep_for, which requires std::chrono::duration* type as a parameter.
My question is do we need to make sure that ndn::time::duration* is convertible to std::chrono::duration. And if we want, are there a way to do it?
---
Alex
More information about the Nfd-dev
mailing list