cpp-common/bt2s: use a `using` declaration
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 31 Jan 2024 22:37:49 +0000 (17:37 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 5 Feb 2024 16:46:02 +0000 (11:46 -0500)
commitfa447211d316bba4342402d754d71baba9fad671
tree0aeae5925cf421bdc8f56766abe3ed5e495f6528
parent8d69cb2642d907ee174567468fee42d3f8a896a6
cpp-common/bt2s: use a `using` declaration

This is exactly the purpose of a `using` declaration, to make the symbol
from the `bpstd`/`nonstd` namespace accessible for unqualified lookup as
if declared in the `bt2s` namespace.

The code is much simpler.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I8348f409a463b85f5b2ed1f1fd8f61adb404a6d9
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11727
Tested-by: jenkins <jenkins@lttng.org>
CI-Build: Simon Marchi <simon.marchi@efficios.com>
src/cpp-common/bt2s/optional.hpp
src/cpp-common/bt2s/string-view.hpp
This page took 0.024128 seconds and 4 git commands to generate.