Questions tagged [boost]
Boost is a large collection of high-quality libraries intended for use in C++. Boost is free, and is often considered a "second standard library".
179 questions
4
votes
2
answers
142
views
Polymorphic data models that save data to MySQL and restore data from MySQL
This is a follow up question to Inserting and retrieving data MySql Database access in C++ using Boost::ASIO and Boost::MySQL. I have reduced the amount of code to be reviewed by presenting only one ...
2
votes
1
answer
88
views
My first attempt to insert and retrieve data from a MySQL database using the boost::mysql library
About the Project
This was a go/no go prototype for a project that would store the data a combined personal planner software with project planning software in a relational database. It was also a ...
1
vote
0
answers
69
views
Inserting and retrieving data MySql Database access in C++ using Boost::ASIO and Boost::MySQL
About the Project
This is a unit test and a prototype for the database portion of a project that would store the data a combined personal planner software with project planning software in a ...
2
votes
1
answer
69
views
Cmake build system for prototype planner software using boost and other previously written code
I'm prototyping/debugging some C++ code that I may turn into a longtime project. The build system is ready for review, the prototype is not.
The GitHub repository for the code listed below.
Like all ...
5
votes
2
answers
180
views
C++ arithmetic calculator built without resorting to tree structure as conventionally done, but by parsing input string and then std::stoi
Lately I came across a book exercise that asked to implement a calculator by resorting only to std::string manipulation.
I avoided C++ streams as well, as they are ...
5
votes
1
answer
126
views
Command Line Photo Size Reduction Tool - version 3
This is the third version of the photo size reduction tool for code review. The previous reviews are Resize 200 photos quickly in C++ using opencv and Photo Reduction Tool version 2 - Possible ...
6
votes
2
answers
166
views
Photo Reduction Tool version 2 - Possible reinvention of the wheel
The code is a Linux command line photo size reduction tools. It reduces the size of all the photos in a directory. It may work on Windows 10, but it has not been built or tested on Windows. It takes ...
1
vote
0
answers
86
views
Connection pool design for Boost MySQL
I had to design a connection pool that handles Boost MySQL connection to use the asynchronous functions.
Here is the code:
...
2
votes
1
answer
101
views
string compatible enum-like structure
So I've decided to flex showcase my "enum that accepts strings etc..." here.
I don't know if it's great but I'm pretty sure it's decent. It is implemented in less than 200 lines of code (not ...
3
votes
1
answer
569
views
C++ Readers-Writer Lock using Asio's Strands
The locking mechanism is implemented in the class RW_Lock.
The saved_async_completion_handler structure is used in ...
2
votes
1
answer
85
views
API Implementation guidance and improvement
I have recently made significant progress in overcoming beginner barriers related to using Git, CMake, libraries, and successfully implementing an API in C++. Despite my achievements, I acknowledge ...
2
votes
1
answer
744
views
Tool for asynchronous IPC using pipes
Description of the code:
The code provides asynchronous IPC functionality in C++ using the Boost libraries and pipes.
Each process asynchronously "listens" on the read end of the pipe and ...
-2
votes
1
answer
629
views
How can I optimize C++ serialization? [closed]
I want to serialize a C++ class Ramdomclass . Below is the serialization function.
...
0
votes
1
answer
570
views
What can I do better in my C++ serialization implementation?
I want to serialize a class Mango recursively.
...
3
votes
2
answers
7k
views
Printing a C++ struct
Critique?
...