Our great sponsors
What I mean is a map with types as indices, and the number of times the type is present as values. I want to use it as template parameter to create a unit-like system. My previous attempt (pre-C++20, using -fconcepts) was based on types, with C++20 NTTP a value-based approach might be possible.
A compile-time enabled Modern C++ library that provides compile-time dimensional analysis and unit/quantity manipulation. (by mpusz)
mp-units - A Units Library for C++ https://github.com/mpusz/units
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.
C++ torsor class template (by wovo)
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.
I got curious about units of measure in programming languages so I recreated xkcd/687.
1 project | reddit.com/r/xkcd | 24 May 2022
C++ for Mathematicians
2 projects | reddit.com/r/cpp | 2 Apr 2022
Cheatsheet for the C++ core guidelines (philosophy)
4 projects | reddit.com/r/programming | 29 Mar 2022
Compile-time C++ library for compile-time dimensional analysis, units/quantities
1 project | news.ycombinator.com | 20 Mar 2022
Measurements should always have units
1 project | reddit.com/r/coding | 24 Dec 2020