Boost
C++ compiler gives pages of warnings when using boost::xpressive
I get a long list of compile warnings when trying to use boost::xpressive; specifically when I use sregex_compiler\'s compile() function.[详细]
2023-04-11 00:46 分类:问答boost function and lambda to wrap a function
I want to convert this simple code: void setZComp(Imath::V3f& pt) { pt.z = 0.0; } int myfunc() { ... std::vector<Imath::V3f> vec(5,Imath::V3f(1.0,1.0,1.0));[详细]
2023-04-10 23:16 分类:问答boost::asio when should I use socket::async_send instead of the free function async_write?
socket::async_send() is a composed method which is implemented in termos of zero or more calls to socket::async_write_some(). However, as the documentation describes:[详细]
2023-04-10 22:59 分类:问答Convert String to float in c++
I want to convert a std::string which I read from a csv file 开发者_Go百科to a float. There are several float representations included like:[详细]
2023-04-10 18:07 分类:问答bjam can't find the boost libraries
I\'ve built boost from source because I need the latest version to build pyopencv with. That all went fine.[详细]
2023-04-10 15:43 分类:问答How to get the AST of a regular expression string?
How can I get the abstract syntax tree (AST) of a regular expression (in C++)? For example, (XYZ)|(123)[详细]
2023-04-10 13:30 分类:问答Boost "is_virtual_base_of" compile error when migrating working module
I have been working with boost serialization, I developed a whole module to store classes in persistent storage, but when I try to migrate my module to other project I got some errors I have never see[详细]
2023-04-10 11:50 分类:问答System Error 955 when using resolver::async_resolve
At times I get the System Error 995 when using the async_resolve method from an tcp::resolver. The code below shows the relevant code lines.[详细]
2023-04-10 11:43 分类:问答Using the + operator in boost::spirit: char cast error?
In boost::spirit, I am trying to use the +(...) syntax to match one or more strings, like here: #include <boost/config/warning_disable.hpp>[详细]
2023-04-10 10:35 分类:问答Issue in serializing a vector of deques using Boost
How do I serialize a vector of deques using Boost Serialization library. Currently, I have the following code for this purpose:[详细]
2023-04-10 09:53 分类:问答