c_time.hpp
来自「CGAL is a collaborative effort of severa」· HPP 代码 · 共 36 行
HPP
36 行
#ifndef DATE_TIME_C_TIME_HPP___#define DATE_TIME_C_TIME_HPP___/* Copyright (c) 2002,2003 CrystalClear Software, Inc. * Use, modification and distribution is subject to the * Boost Software License, Version 1.0. (See accompanying * file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0) * Author: Jeff Garland, Bart Garst * $Date: 2004/11/20 10:36:17 $ *//*! @file c_time.hpp Provide workarounds related to the ctime header*/#include "boost/date_time/compiler_config.hpp"#include <ctime>//Work around libraries that don't put time_t and time in namespace std#ifdef BOOST_NO_STDC_NAMESPACEnamespace std { using ::time_t; using ::time; using ::localtime; using ::tm; using ::gmtime; }#endif//The following is used to support high precision time clocks#ifdef BOOST_HAS_GETTIMEOFDAY#include <sys/time.h>#endif#ifdef BOOST_HAS_FTIME#include <time.h>#endif#endif // DATE_TIME_C_TIME_HPP___
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?