View Single Post
Old July 20th, 2019   #1
shawn
Junior Member
 
Join Date: Nov 2018
Location: Oakland, CA, USA
Posts: 18
Default New C++-oriented `rdmconst.h` header

I recreated the intent of `rdm.h` into a new, more C++-oriented, `rdmconst.h` file. Notes about the file:
  1. Uses `constexpr` instead of `#define`s.
  2. Fixes some spelling mistakes from the standard by introducing new constants, but keeping the old constants and tagging them with `[[deprecated("spelling")]]`.
  3. Puts everything into an `rdm` namespace.

Feel free to make comments and suggestions. Consider this a beta version.

The file is attached.
Attached Files
File Type: h rdmconst-beta.h (46.4 KB, 102 views)
shawn is offline   Reply With Quote