c++ - Git 1.56 boost 存储库中缺少 boost::posix_time::to_time_t

标签 c++ git svn boost

我想知道为什么 Git 存储库中缺少方法 boost::posix_time::to_time_t,虽然 SVN 存储库中的 1.55 版本可用。

Git 1.56 posix_time 存储库,其中缺少 to_time_t: https://github.com/boostorg/date_time/blob/master/include/boost/date_time/posix_time/conversion.hpp

SVN 1.55 posix_time repo,其中 to_time_t 正确可用: http://svn.boost.org/svn/boost/trunk/boost/date_time/posix_time/conversion.hpp

添加 to_time_t 的讨论链接: http://lists.boost.org/boost-commit/2013/05/46171.php

这个功能有什么替代品吗?

最佳答案

它在开发分支上 https://github.com/boostorg/date_time/blob/develop/include/boost/date_time/posix_time/conversion.hpp

具体而言,此提交是相关的:

Restored to_time_t() function removed by commit 6636f49.  develop
commit ae536816ee0a8bf65d1c52dc7d2b548925fb1416 1 parent 805bf4d Lastique authored on May 31

关于c++ - Git 1.56 boost 存储库中缺少 boost::posix_time::to_time_t,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26301460/

相关文章:

c++ - 带/不带类的回调函数指针 C++

c++ - OpenCV:filter2D函数的计算效率

在 WSL 中通过 Ubuntu 看不到 Git 颜色

java - 如何从 MyEclipse 7.0 使用 SVN 提交/比较/替换文件?

svn - 更新到SVN中的特定版本?

c++ - (Arduino) 我想创建一个 uint8_t 数组

git - 在 Julia 中提交包时出错

git pull origin master 保留 settings.py

svn - 这个 405 Method Not Allowed svn 错误是什么?

c++ - 具有静态成员的类与单例