CONTRIBUTING.adoc: mention bt2c::makeSpan()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 23 Apr 2024 16:50:13 +0000 (12:50 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 23 Apr 2024 23:07:00 +0000 (19:07 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I6b5340fd353cbd4ef40f9e75322588842f10a788
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12455
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
CONTRIBUTING.adoc

index 2e1e136e1ccbaa8e15567d0f51a1bb3658be7451..171fcb14a6b41eb991f9d3f0569738e69105aeb5 100644 (file)
@@ -1728,6 +1728,11 @@ When possible, prefer using this over the C{nbsp}logging API.
 One important benefit is that this API uses {fmt} to format the logging
 message instead of `vsnprintf()`.
 
+`make-span.hpp`::
+    The function template `bt2c::makeSpan()` which is an alternative to
+    https://en.cppreference.com/w/cpp/language/class_template_argument_deduction[CTAD]
+    (a {cpp}17 feature).
+
 `prio-heap.hpp`::
     The `bt2c::PrioHeap` class template: an efficient heap data
     structure.
@@ -1814,6 +1819,11 @@ the `bt2s` namespace, instead of using this directly.
 +
 IMPORTANT: Use the symbols of `src/cpp-common/bt2s/span.hpp`, under the
 `bt2s` namespace, instead of using this directly.
++
+TIP: `src/cpp-common/bt2c/make-span.hpp` offers `bt2c::makeSpan()` which
+is an alternative to
+https://en.cppreference.com/w/cpp/language/class_template_argument_deduction[CTAD]
+(a {cpp}17 feature).
 
 `string-view-lite`::
     https://github.com/martinmoene/string-view-lite[string_view lite].
This page took 0.02672 seconds and 4 git commands to generate.