Skip to main content
Planned maintenance impacting Stack Overflow and all Stack Exchange sites is scheduled for Monday, September 16, 2024, 5:00 PM-10:00 PM EDT (Monday, September 16, 21:00 UTC- Tuesday, September 17, 2:00 UTC). The email/password authentication method will be unavailable for logging in and registering. Read more here

Questions tagged [boost]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
633 views

Implementing C++ n-ary tree with Boost Graph Library

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
212 views

What are some use cases for creating child processes? [closed]

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
346 views

How to separate a serialization code from application in a large c++ project

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

Network programming (boost::asio), architecture and communication protocols

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
  • 297
-1 votes
1 answer
2k views

What does it mean for an algorithm to be conservative? [closed]

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
935 views

Licensing: Boost library distributed with my MIT-licensed code [closed]

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

Asychronous TCP File transfer

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

Async I/O operations - proper way to avoid deleting object

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
201 views

Switching from Node.js class techniques to C++

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

pthread versus boost::thread - need to set the thread priority on an ubuntu box

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,222
19 votes
5 answers
67k views

How to share memory between applications written in C/C++

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,222
1 vote
1 answer
888 views

TLS alternatives that do not require a central authority?

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
830 views

Boost Software License seems to extend disclaimer of warranty automatically but the author says it doesn't [closed]

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

Good practice using signals and event driven system

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
591 views

Representation of time expanded graph

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
2k views

Performance overhead of standard containers and boost [closed]

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

How do objects fit into modern C++ (stl, policy-classes, functional) style?

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

Serializing network messages

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 database TableView like thing in C++?

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

C++ Multithreading on Unix

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
378 views

Guidelines for using BOOST

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
712 views

What are the personal benefits from writing a boost library

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

Unix as opposed to Windows (Java and C++) [closed]

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,469
6 votes
2 answers
2k views

Thread class design?

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,561
17 votes
3 answers
7k views

Where to start learning to use the Boost libraries? [closed]

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
296 views

Will the portions of Boost that are incorporated into the new C++ standard continue to be developed?

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