【问题标题】:can't find chrono namespace using mingw32 and Eclipse CDT使用 mingw32 和 Eclipse CDT 找不到 chrono 命名空间
【发布时间】:2013-11-13 03:13:34
【问题描述】:

我想使用system_clock::time_point,但编译器似乎找不到 这。我包括标题。

【问题讨论】:

    标签: gcc c++11 mingw32 chrono


    【解决方案1】:

    回答我自己的问题:

    #include <chrono>
    std::chrono::time_point<std::chrono::system_clock> timePoint;
    

    【讨论】:

      猜你喜欢
      • 2014-10-19
      • 1970-01-01
      • 2014-08-07
      • 2012-10-23
      • 1970-01-01
      • 2020-01-28
      • 2021-05-10
      相关资源
      最近更新 更多