Should std::chrono::steady_clock::now be noexcept?
问题 I've noticed that std::chrono::steady_clock::now has the noexcept specifier in the documentation at cplusplus.com. However, I haven't found any provision for this in the latest C++11 draft (unfortunately I don't have a copy of the standard). Is it a mistake in the cplusplus.com documenation or should std::chrono::steady_clock::now have the noexcept specifier? 回答1: § 20.11.7.2 of the C++11 standard's definition of steady_clock : class steady_clock { public: typedef unspecified rep; typedef