fork(4) download
  1. #include <chrono>
  2. #include <iostream>
  3.  
  4. template < typename T >
  5. struct TypeDiscloser;
  6.  
  7. int main() {
  8. auto epoch_time = std::chrono::high_resolution_clock::now().time_since_epoch();
  9.  
  10. //TypeDiscloser< decltype( epoch_time ) > dummyVar;
  11. std::cout << std::chrono::high_resolution_clock::now().time_since_epoch().count();
  12. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
1480540706302948846