-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to use Boost::Fusion (Boost v1.42.0) in a personal project. I get an interesting error with this code:
#include "boost/fusion/include/sequence.hpp"
#include "boost/fusion/include/make_vector.hpp"
#include "boost/fusion/include/insert.hpp"
#include "boost/fusion/include/invoke_procedure…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to lay out vertices using the Boost Graph Library. However, I'm running into some compilation issues which I'm unsure about. Am I using the BGL in an improper manner? My code is:
PositionVec position_vec(2);
PositionMap position(position_vec.begin(), get(vertex_index, g));
int iterations…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello, I want to save boost signals objects in the map (association: signal name ? signal object). The signals signature is different, so the second type of map should be boost::any.
map<string, any> mSignalAssociation;
The question is how to store objects without defining type of new signal…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a code that has been working for almost 4 years (since boost 1.33) and today I went from boost 1.36 to boost 1.42 and now I have a problem.
I'm calling a custom formatter on a string to format parts of the string that match a REGEX.
For instance, a string like: "abc;def:" will be changed…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm having issues getting a small spirit/qi grammar to compile. The build stack trace is fugly enought to not make any sense to me (despite some assertion_failed i could notice in there but that didn't brought much information)
the input grammar header:
inputGrammar.h
#include <boost/config/warning_disable…
>>> More