Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Similar projects and alternatives to units
A curated list of awesome header-only C++ libraries
a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
An open-source application delivering a responsive user management experience. (by prince-chrismc)
Tiny but powerful single file wavefront obj loader
Convenient, high-performance RGB color and position control for console output
Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
A header only C++ library that provides type safety and user defined literals for physical units
Record terminal sessions as SVG animations
Cheatsheet for the C++ core guidelines, including a set of tried-and-true guidelines, rules, and best practices about coding in C++.
The Go programming language
🎥 Command line video player
Guidelines Support Library
dmd D Programming Language compiler
Cross-platform game engine in Rust.
Zero overhead utilities for preventing bugs at compile time
A powerful, easy-to-use, and easy-to-read programming language for the future.
A fully type safe, compile time only units library. (by SciNim)
Game Maker reimplementation (by rpjohnst)
Go linter to detect erroneous multiplication of duration values
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
units reviews and mentions
Why is this piece of code compiling with char as c-tor argument?
2 projects | reddit.com/r/cpp_questions | 7 Feb 2023
Yep. And there are some libraries to provide strong-type int, depending on what you need: type_safe or even units.
C++'s smaller cleaner language
11 projects | reddit.com/r/cpp | 31 Dec 2022
Indeed you cannot. Then again, you couldn't write a library like fmtlib in C in the first place. I mean why do you complain about C++ features which enable you to write libraries you otherwise couldn't? How would you expect to implement equivalent libraries to EVE or mp-units in C alone?
C++ for Mathematicians
2 projects | reddit.com/r/cpp | 2 Apr 2022
I don't have a book to recommend, but I have a fantastic library: https://github.com/mpusz/units
Cheatsheet for the C++ core guidelines (philosophy)
4 projects | reddit.com/r/programming | 29 Mar 2022
Please Put Units in Names
12 projects | news.ycombinator.com | 20 Mar 2022
Good C++ library for that topic is . You can even go further and combine with something like  which is super helpful for kalman filters and other stuff where you have heterogeneous units in one vector.
C++ lib for handling SI units
3 projects | reddit.com/r/cpp_questions | 8 Dec 2021
This seems to be on a progress to standardisation for c++23/26: https://github.com/mpusz/units
oof: real-time, full-color console output for C++
6 projects | reddit.com/r/programming | 22 Nov 2021
If we're talking extreme ease of use, it doesn't get simpler than a library that only contains actual header files, no macros required. Here's an example of a library like that. For years, until I encountered this thread, that was my understanding of what a "header-only library" was.
C++ library for a type multiset
4 projects | reddit.com/r/cpp | 30 Oct 2021
mp-units - A Units Library for C++ https://github.com/mpusz/units
A note from our sponsor - Sonar
www.sonarsource.com | 28 Mar 2023
mpusz/units is an open source project licensed under MIT License which is an OSI approved license.