Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
使用 Boost::Spirit 解析 time_period 表达式
我需要使用 Boost Spirit 解析以下 EBNF 表达式 period date part time part date part time part time part hours minutes seconds date par
c
Parsing
boost
boostspirit
boostdatetime
使用 C++ 和 BOOST 读取 JSON 文件
HTTP 服务器向我发送一个 JSON 响应 字符串 如下所示 folders id 109 parent id 110 path 1 105 110 id 110 parent id 105 path 1 105 files id 26
c
json
boost
Tree
directory
在库的公共接口中使用 boost::shared_ptr
我们有一个 C 库 提供给多个不同的客户 最近 我们从在公共接口中使用原始指针改为使用 boost sharedptr 正如您可能猜到的那样 这提供了巨大的好处 因为现在客户不再需要担心谁需要删除什么以及何时删除 当我们进行切换时 我相信这
c
API
boost
sharedptr
设置种子增强::随机
我想通过使用不同的种子数来重置随机序列 运行此测试代码时 boost mt19937 gener 1 boost normal distribution lt gt normal 0 1 boost variate generator
c
boost
Random
SEED
如何使用Boost.Asio C++? [关闭]
Closed 这个问题需要多问focused help closed questions 目前不接受答案 我会尝试使用该库在多个平台上使用套接字 Boost Asio c 我在这里下载了最新版本 http sourceforge net p
c
boost
boostasio
如何通过之前编写的预处理器定义获取函数签名?
我想创建一个定义来解析函数签名并使用 Boost Preprocessor 创建如下内容 MY DEFINE std string fun int t float b 或者至少 MY DEFINE std string fun int t
c
boost
boostpreprocessor
如何使用boost库读取和写入.ini文件[重复]
这个问题在这里已经有答案了 如何使用boost库读取和写入 或修改 ini文件 With Boost PropertyTree您可以读取并更新树 然后写入文件 请参阅load and save功能 看一下如何访问属性树中的数据 http w
c
boost
ini
有没有办法将 boost::json::serializer 切换为美化输出?
Using boost json serializer如中的示例所示文档 快速查看 http vinniefalco github io doc json json usage quick look html以紧凑格式保存 json tre
c
json
boost
来自 boost Asio Deadline_timer 的多个 async_wait
是否可以在同一个 boost asio deadline timer 上多次调用 async wait 我想做的事情如下 t gt expires from now delay t gt async wait f1 t gt async w
c
boost
timer
boostasio
boost 是否有可移植的方式来使用 ntohl/htonl/ntohs/htons 类型函数?
我正在使用 UDP 特别是 boost asio ip udp socket 套接字 如果有帮助的话 头文件是什么 我需要哪些标头 类来处理 UDP 提升下的网络字节排序 刚刚发现就足够了 include
c
boost
udp
使用 graphviz 绘制自定义 BGL 图表
我是 Boost 图形库的新手 我尝试使用 graphviz 绘制图形 include
c
boost
graphviz
boostgraph
Boost 文件系统非常慢?
我目前正在学习 Boost 框架 并且我已经找到了如何列出系统上的所有文件夹和文件 使用 include
c
boost
boost::make_zip_iterator 的 decltype?
我有以下代码 std vector
c
boost
C11
如何划分 boost::Optional
?
我有这样的代码 boost optional
c
boost
boostoptional
udp客户端服务器从拉模型更改为推模型[关闭]
Closed 这个问题需要调试细节 help minimal reproducible example 目前不接受答案 我已经实施了udp client和 udp server 其中服务器和客户端遵循拉模型 服务器仅在客户端请求时推送数据
c
C11
boost
clientserver
boostasio
如何制作异构 boost::map?
我想要一个具有同质键类型但异构数据类型的映射 我希望能够做类似的事情 伪代码 boost map
c
boost
Dictionary
如何从 cpp_dec_float_50 转换为 cpp_int?关于一般的浮点数?
我的基本目标是减去两个应该相等的浮点数 考虑一下 float x 1 float a x 30 x 40 float b x 30 b x 40 std cout lt
c
boost
floatingpoint
将 boost::assign 与嵌套在 std::map 内的 std::set 一起使用
我正在尝试使用boost assign模拟 C 11 的初始化std map含有一个std set include
c
boost
使用 MinGW gcc 4.4.0 增强 thread_interrupted 异常终止(),使用 3.4.5 则正常
今天我一直在 玩弄 boost 线程作为学习练习 并且我有一个几个月前构建的工作示例 在我被打断并不得不暂时放弃多线程之前 它显示了不寻常的行为 当我最初编写它时 我使用的是 MingW gcc 3 4 5 并且它有效 现在我正在使用 4
c
Multithreading
Exception
boost
MinGW
无法使用Boost.process
我下载并打包了 1 54 0 版本的 Boost 库 我做了类似回答这个问题的一切 如何在 Visual Studio 2010 中使用 Boost https stackoverflow com questions 2629421 how
c
boost
1
2
3
4
5
6
...72
»