Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 15631

Code libraries to write programs to accomplish specific tasks. Please use this tag together with one for the associated programming language.

3 votes

C++11 thread pool implementation

But for now, here's my list: CTPL - A no-frills single-header-only library; has two variants: one only relying on the standard library, the other using a lock-free queue implementation from Boost. ~250 … So probably something like 500 lines. thread_pool by Tyler Hardin - A single-class, 1 .hpp + 1 .cpp, library (the choice of code to put in the .cpp is very reasonable, so this is not a weakness compared …
einpoklum's user avatar
  • 3,369
3 votes
Accepted

Header-based C++ logging library

Proggit: "A simple, header-only, MIT-licensed, C++ logging library" with layout "based on Google's logging library" (but no code copied from there). … SPDLog: "Very fast, header only, C++ logging library". From my personal experience - decent enough. and there are more... …
einpoklum's user avatar
  • 3,369
0 votes

Header-based C++ logging library

plog Repository: on GitHub Author: Sergey Podobry License: MPL 2.0 In development since: 2014 Self-description: Plog is a C++ logging library that is designed to be as simple, small and flexible as possible …
einpoklum's user avatar
  • 3,369
2 votes

C++ numerical integration library

You should consider the relatively popular GNU Scientific Library (GSL), which is by the way what GCC uses internally (although not the numerical integration part). …
einpoklum's user avatar
  • 3,369
1 vote

C++ Relational Data Structure Library

Most in-memory DBs, however, live in separate processes rather than in a library. …
einpoklum's user avatar
  • 3,369
1 vote

Where can I find a complete/non-biased comparison of available C++ logging libraries?

I'm actually going to be needing a logging library myself in the near future, so if you other comparisons don't hesitate to post an answer to your own question. …
einpoklum's user avatar
  • 3,369
1 vote

C++ Date Library for parsing and date rules

Beginning with the C++11 standard, the standard library includes date and time facilities, accessible with via the <chrono> header file; these should satisfy your parsing needs: std::tm tm; std::stringstream …
einpoklum's user avatar
  • 3,369
1 vote
Accepted

C++ differentiation library

You want to do symbolic math in C++; differentiation is just an example of that. While I don't have experience doing that myself, I can at least help you with a few suggestion: SymbolicC++: Symbo …
einpoklum's user avatar
  • 3,369
2 votes
Accepted

Verified printf format string

The most immediate answer to your question is, I believe, tinyformat, which only aims to provide a typesafe printf() replacement and is in-use. I would not recommend you choose that one, though. You …
einpoklum's user avatar
  • 3,369
1 vote

Any C++ RegExp library with support full regexp in lookbehind

The Perl-compatible regular expression library (PCRE) Language: C (seems to also have C++ wrappers) Compiler support: GCC for sure, probably all popular compilers Actively maintained: Yes, last release … This page suggests that the PCRE library supports variable-length look-behind, albeit it doesn't support arbitrary regexes within look-behinds. …
einpoklum's user avatar
  • 3,369
1 vote

C++ constexpr math (header-only) library

The gcem:: syntax is identical to the C++ standard library (std::). Tested and accurate to floating-point precision against the C++ standard library. Released under a permissive (non-GPL) license. …
einpoklum's user avatar
  • 3,369
1 vote

C++ constexpr math (header-only) library

Sprout "C++11/14 constexpr based Containers, Algorithms, Random numbers, Parsing, Ray tracing, Synthesizer, and others." by Bolero Murakami (I think that's the name) Websites: Main site | GitHub Repo …
einpoklum's user avatar
  • 3,369
1 vote
Accepted

Alexandrescu 'vexing alligator' allocator implementation?

Yes, there is: Felix Petriconi's Allocator Builder library (GitHub) Quoting from the repository description: A highly composable, policy based C++ allocator. … The layout idea of the library is was presented by Andrei Alexandrescu at the C++ and Beyond 2013 seminar and at the CppCon 2015. So just what OP asked for. …
einpoklum's user avatar
  • 3,369
0 votes

A modern(ish) C++ graph representation and manipulation library

There is a very serious project of writing a templatized, range-aware, graph library, as a proposal for addition to the C++ standard. …
einpoklum's user avatar
  • 3,369
14 votes

A modern(ish) C++ graph representation and manipulation library

GGL, the Graph Grammar Library - . Here's the manual. … See also the following Stack Overflow questions: Use a Graph Library/Node Network Library or Write My Own? Which C++ graph library should I use? …
einpoklum's user avatar
  • 3,369

15 30 50 per page