cpp-common/bt2c/fmt.hpp: use `wise_enum::string_type` in `EnableIfIsWiseEnum` definition
[babeltrace.git] / CONTRIBUTING.adoc
index 35f4923c964e8e0a2231474242940ba8349922b9..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.
@@ -1777,7 +1782,7 @@ Also provides conversion to `bt2c::Uuid`.
 Everything under the `bt2s` namespace has its equivalent under the `std`
 namespace, but in {cpp} versions we don't yet have access to, namely:
 
-`make_unique.hpp`::
+`make-unique.hpp`::
     `bt2s::make_unique()`, a drop-in replacement of `std::make_unique()`
     ({cpp}14).
 
@@ -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].
@@ -1821,6 +1831,9 @@ IMPORTANT: Use the symbols of `src/cpp-common/bt2s/span.hpp`, under the
 IMPORTANT: Use the symbols of `src/cpp-common/bt2s/string-view.hpp`,
 under the `bt2s` namespace, instead of using this directly.
 
+`wise_enum`::
+    https://github.com/quicknir/wise_enum[wise_enum].
+
 === Automake/Libtool requirements
 
 To add a {cpp} source file to a part of the project, use the `.cpp`
This page took 0.023998 seconds and 4 git commands to generate.