cpp-common/bt2c: add format_as() template functions for wise enums
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 4 Apr 2024 03:01:05 +0000 (23:01 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 17 Apr 2024 17:57:53 +0000 (13:57 -0400)
commit91730cec9609a4d62c5f387ca3627d2233685982
treed192cf69727013c3928e84b0fb0bb02ea4d06bd4
parent8ae5c2b21dc7f792be1a6b10fc245d82ba501e21
cpp-common/bt2c: add format_as() template functions for wise enums

Add some format_as() functions in the bt2 and bt2c namespaces that will
apply to all wise enums defined in that namespace.

Change-Id: I4952f062fc36e94925d2f0b093ac09d0fae6fdc0
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12248
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/cpp-common/bt2c/fmt.hpp
This page took 0.023331 seconds and 4 git commands to generate.