chrono_conflict_test.cpp 341 B

12345678910111213141516
  1. // Copyright 2017 Peter Dimov.
  2. //
  3. // Distributed under the Boost Software License, Version 1.0.
  4. //
  5. // Check that using Chrono and Timer in the same program does
  6. // not cause link errors.
  7. #include <boost/chrono.hpp>
  8. #include <boost/timer/timer.hpp>
  9. int main()
  10. {
  11. boost::chrono::steady_clock::now();
  12. boost::timer::cpu_timer cpt;
  13. }