cpp-common/vendor: add copy of wise_enum
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 3 Apr 2024 20:18:23 +0000 (16:18 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 17 Apr 2024 17:57:53 +0000 (13:57 -0400)
commit8ae5c2b21dc7f792be1a6b10fc245d82ba501e21
tree6644c0690569cb37804d58b7a06a25f6871013df
parent33f209287c8708cf14de930e4ce494e4edd054fa
cpp-common/vendor: add copy of wise_enum

Add a copy of wise_enum, a smart enum library that allows doing cool
things like getting the number of enumerators of an enum, iterating on
enumerators, and converting enumerators to string while effectively
keeping vanilla `enum`/`enum class` behind the scenes (no enum-like
class).

The version is 3.1.0, which corresponds to the git tag `3.1.0`, which
corresponds to this git commit:

  https://github.com/quicknir/wise_enum/commit/34ac79f7ea2658a148359ce82508cc9301e31dd3

Change-Id: I9b92d5cd012dee427cdd725c17eeae9f2a529cb0
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12242
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
.reuse/dep5
CONTRIBUTING.adoc
README.adoc
src/Makefile.am
src/cpp-common/vendor/wise-enum/optional.h [new file with mode: 0644]
src/cpp-common/vendor/wise-enum/optional_common.h [new file with mode: 0644]
src/cpp-common/vendor/wise-enum/wise_enum.h [new file with mode: 0644]
src/cpp-common/vendor/wise-enum/wise_enum_detail.h [new file with mode: 0644]
src/cpp-common/vendor/wise-enum/wise_enum_generated.h [new file with mode: 0644]
This page took 0.025343 seconds and 4 git commands to generate.