文件操作 - visit_each.hpp
返回文件管理
返回主菜单
删除本文件
文件: /usr/include/boost/visit_each.hpp
编辑文件内容
// Boost.Signals library // Copyright Douglas Gregor 2001-2003. Use, modification and // distribution is subject to the Boost Software License, Version // 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // For more information, see http://www.boost.org/libs/signals #ifndef BOOST_VISIT_EACH_HPP #define BOOST_VISIT_EACH_HPP namespace boost { template<typename Visitor, typename T> inline void visit_each(Visitor& visitor, const T& t, long) { visitor(t); } template<typename Visitor, typename T> inline void visit_each(Visitor& visitor, const T& t) { visit_each(visitor, t, 0); } } #endif // BOOST_VISIT_EACH_HPP
修改文件时间
将文件时间修改为当前时间的前一年
删除文件