Skip to main content

Questions tagged [boost]

Filter by
Sorted by
Tagged with
1 vote
2 answers
88 views

I have a graph: undirected, unweighted, no leaves, no disconnected edges or vertices. The graph is populated with vertices of 3 types: A, B, C. Let's say, I hold a vertex of type A, denoted as A0. I ...
BorisV's user avatar
  • 119
0 votes
2 answers
791 views

I would like to have a relatively small and simple tree in C++. Each node would contain an integer. The tree should be traversable both ways. I know it can be done with tree.hh by Kasper Peeters, but ...
Igor's user avatar
  • 1
-3 votes
2 answers
317 views

I am trying to understand processes and their use in software engineering. Not processes in general but rather creating a process from within a program. It seems a really powerfull tool and i have a ...
ariia's user avatar
  • 3
2 votes
0 answers
379 views

I'm working on a fairly large c++ project which uses boost's serialization. The issue that I have with the way it is currently organized is that serialization is weaved into the main source code on ...
Glinka's user avatar
  • 129
0 votes
1 answer
1k views

I'm trying to make a simple network application using boost::asio. I think that I understood the basic things like io_context, async functions etc, but I really don't know how to deal with buffers. ...
bielu000's user avatar
  • 351
-1 votes
1 answer
2k views

As defined in the documentation of the gamma parameter for Tree Booster: Minimum loss reduction required to make a further partition on a leaf node of the tree. The larger gamma is, the more ...
Ante P's user avatar
  • 11
-3 votes
1 answer
949 views

I want to release some C++ code under MIT license in GitHub. I would like to include required BOOST libraries in the repository. No commercial use is currently foreseen. I am pretty new to IP issues, ...
Jaeya's user avatar
  • 127
0 votes
2 answers
1k views

I have an asychronous file transfer using boost::asio. Multiple files can be transfered at the 'same time'. Same time as in - file packet for file 1, next packet for file 3, next for file 2, ... No ...
Blacktempel's user avatar
1 vote
1 answer
2k views

Using async I/O operations from boost::asio I often need shared pointers (and enable_shared_from_this and shared_from_this in callbacks) to avoid deleting objects too early. I think that it could be ...
pawell55555's user avatar
1 vote
0 answers
212 views

I'm going to be rewriting a project from Node.js into C++11. The device the Node.js scripts are being run on are ARM based, and Node.js is slow to start up on the device. In the Node.js program, I ...
Mikey A. Leonetti's user avatar
0 votes
1 answer
3k views

I wrote a class that basically executes a numerical analysis code in a thread using boost::thread. Now I need to specify the thread priority, since we are running a system with near real-time ...
cauchi's user avatar
  • 1,232
19 votes
5 answers
70k views

I'm going through a program written in C/C++ for control in robotics. Basically, three different programs run at the same time, and they communicate via shared memory. Google-ling around I found ...
cauchi's user avatar
  • 1,232
1 vote
1 answer
949 views

I am creating a peer to peer program that runs on client computers connecting to other clients. I will be using Boost.Asio. The only options that I am aware of for securing these connections is using ...
mm865's user avatar
  • 11
1 vote
0 answers
849 views

Here is a copy of the Boost software license. Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by ...
Lone Learner's user avatar
0 votes
1 answer
2k views

I am using signals (specifically Boost signals2) to create an event driven protocol API and model. Most elements have their own signals, and there are usually multiple of each element. Consider a ...
111111's user avatar
  • 121
0 votes
1 answer
614 views

I want to build a time expanded graph with time discretization Dt that starts at t = 0 and ends at t = T where between the node (n1, t) and the node (n2, t') is an arc if and only if (n1, n2) were ...
W4lker's user avatar
  • 11
1 vote
1 answer
3k views

Adap.TV has chosen C++ to develop their software. However, they've decided not to use the standard containers1 and boost for performance reasons, as they've blogged about it in the following article: ...
Sarfaraz Nawaz's user avatar
2 votes
2 answers
1k views

I'm a bit confused so the question is a bit confusing. TL;dr: how to mix STL and OOP? From the comment to Best overview to modern C++ paradigms? and http://www.boost.org/community/generic_programming....
kirill_igum's user avatar
3 votes
1 answer
2k views

I am writing a network wrapper around boost::asio and was wondering what is a good and simple way to serialize my messages. I have a message factory which can take care of dispatching the data to the ...
mtsvetkov's user avatar
  • 151
1 vote
1 answer
2k views

How can I implement a TableView like thing in C++? I want to emulating a tiny relation database like thing in C++. I have data tables, and I want to transform it somehow, so I need a TableView like ...
Industrial-antidepressant's user avatar
2 votes
1 answer
1k views

I have two related questions: Are there any good books for multithreading in C++, especially now that C++11 contains multithreading in the standard library? I have the Wrox Programming on Unix book (...
Roger's user avatar
  • 137
5 votes
1 answer
395 views

I am planning to use boost libraries, as it is quiet rich, and will save lots of time. But my question is, what are the guidelines i have to follow, so that I can replace some part of boost with ...
rakesh's user avatar
  • 151
2 votes
1 answer
734 views

Among the reasons for a developer to publish a self-written library as open source library, there is definitely fame. Now when it comes to Boost Libraries, they are available and promoted in a very ...
user4514's user avatar
  • 121
2 votes
4 answers
3k views

Firstly I should explain the background. I am interested in high frequency trading programming roles. After looking at many job specs it is very clear that there is a big demand for programmers who ...
user997112's user avatar
  • 1,479
6 votes
2 answers
2k views

I have a method like this in my UI code: void MyDialog::OnCommandSaveData() { std::list<MyClass*> objects; service_->GetAll(objects); dataService_->SaveObjects(objects); ...
User's user avatar
  • 1,581
17 votes
3 answers
7k views

Boost has recently become available on the project on which I'm working, and I don't have much experience with it. The library has so many parts and features that it's hard to know where to get ...
John Humphreys's user avatar
3 votes
1 answer
309 views

What will happen to the portions of the Boost library that are incorporated into the new C++ standard? Will they continue to evolve and any changes be reincorporated into the standard which follows ...
jonsca's user avatar
  • 585