是否有任何技术/概念上的原因boost::circular_buffer不支持移动赛门铁克?
Is there any technical/conceptual reason boost::circular_buffer does not support move symantics?
我想用unique_ptrs填充boost::circular_buffer,但我没有找到任何"emplace"函数或任何&&公共接口中任何函数中的参数。有没有什么特别的原因circular_buffer不能支持移动,我错过了?
多亏https://svn.boost.org/trac/boost/ticket/7888现在在Boost中实现了。似乎最初的实现是在1.55中,在1.57中修复了一些编译器警告。
但是,在Boost 1.63中仍然不支持emplace()
, emplace_front()
或emplace_back()
。
相关文章:
- 如何"buffer" UNIX 信号
- 什么是 Direct3D 12.0 上的"Map Default Buffer"?
- VC++ wcscpy_s随机断言"Buffer is too small"
- 将uint8_t*buffer和size_tbufferlen从C++传递到C中的API函数的最佳方式是什么
- boost::asio::buffer 如何遍历字节
- 大约"circular reference",我用了weak_ptr但仍然发生内存泄漏
- 在 boost::<double>asio::buffer 中使用像 std::vector<std::complex> 这样的参数
- Cppcheck 静态代码分析器实际上可以检测到不太常见的警告(如 "Relative Path Traversal (CWE-23)" 或"Buffer Under-read(CWE-127)")吗
- tf2_ros::Buffer::canTransform() 为现有转换返回 False
- OpenCL/C++ - 返回一个 cl::Buffer 对象
- 如何在方法参数中使用boost :: asio :: buffer
- 尝试运行 NVIDIA FleX 时"buffer overflow detected"
- C++: buffer the cin istream
- 如何将 std::array 转换为 boost::asio::buffer
- 如何从节点本机插件正确创建Buffer对象
- Buffer.BlockCopy Array 2d c++ to C# 共享内存
- opencv imencode() buffer exception
- boost::asio::buffer与矢量结构
- boost::circular buffer等效于文件
- 执行boost::circular buffer确认自动弹出操作