IMPORTANT: Use the symbols of `src/cpp-common/bt2s/span.hpp`, under the
`bt2s` namespace, instead of using this directly.
-`string_view-standalone`::
- https://github.com/bitwizeshift/string_view-standalone[`string_view` Standalone].
+`string-view-lite`::
+ https://github.com/martinmoene/string-view-lite[string_view lite].
+
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`
* Use camel case with an uppercase first letter for:
** Types: `Pistachio`, `NutManager`.
** Template parameters: `PlanetT`, `TotalSize`.
+** Enumerators: `Type::SignedInt`, `Scope::Function`.
* Use snake case with uppercase letters for:
** Definition/macro names: `MARK_AS_UNUSED()`, `SOME_FEATURE_EXISTS`.
-** Enumerators: `Type::SIGNED_INT`, `Scope::FUNCTION`.
* Use only lowercase letters and digits for namespaces: `mylib`, `bt2`.
enum class Gender
{
- MALE,
- FEMALE,
- OTHER,
+ Male,
+ Female,
+ Other,
};
explicit Baby() = default;