cpp-common/bt2c: add `bt2c::IsOneOf` trait
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 23 Jan 2024 17:30:43 +0000 (17:30 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 29 Jan 2024 16:38:19 +0000 (11:38 -0500)
commit05f7d581bee6323522f6b9c9843f87d3d8bff070
tree6fe26ebd0262e4be6ead9e9ed6a78188b39467a4
parent785712e1da59033cf135c23cffc49c6821ca3fcc
cpp-common/bt2c: add `bt2c::IsOneOf` trait

Add the `bt2c::IsOneOf` trait, which is used to check if a type is in a
list of types.

Change-Id: If95ebc542d0581afb3411fcaece6617bb4946612
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11708
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/Makefile.am
src/cpp-common/bt2c/type-traits.hpp [new file with mode: 0644]
This page took 0.024756 seconds and 4 git commands to generate.