1- // ==================================================================================================
1+ // ======================================================================================================================
22/*
33 KUMI - Compact Tuple Tools
44 Copyright : KUMI Project Contributors
55 SPDX-License-Identifier: BSL-1.0
66*/
7- // ==================================================================================================
7+ // ======================================================================================================================
88#pragma once
99
1010namespace kumi
1111{
12- // ================================================================================================
13- // ! @ingroup queries
12+ // ====================================================================================================================
13+ // ! @ingroup queries
1414 // ! @brief Retrieves the front of a product type
1515 // !
16- // ! @param t Base product type
17- // ! @return A reference to the first element of the product type `t`
16+ // ! @param t Base product type
17+ // ! @return A reference to the first element of the product type `t`
1818 // !
1919 // ! ## Helper type
2020 // ! @code
@@ -32,7 +32,7 @@ namespace kumi
3232 // ! ## Examples
3333 // ! @include doc/tuple/algo/back-front.cpp
3434 // ! @include doc/record/algo/back-front.cpp
35- // ================================================================================================
35+ // ====================================================================================================================
3636 template <concepts::product_type T>
3737 [[nodiscard]] KUMI_ABI constexpr decltype (auto ) front(T&& t)
3838 requires(size_v<T> != 0 )
@@ -41,12 +41,12 @@ namespace kumi
4141 else return get<0 >(KUMI_FWD (t));
4242 }
4343
44- // ================================================================================================
45- // ! @ingroup queries
44+ // ====================================================================================================================
45+ // ! @ingroup queries
4646 // ! @brief Retrieves the back of a product type
4747 // !
48- // ! @param t Base product type
49- // ! @return A reference to the last element of the product type `t`
48+ // ! @param t Base product type
49+ // ! @return A reference to the last element of the product type `t`
5050 // !
5151 // ! ## Helper type
5252 // ! @code
@@ -64,7 +64,7 @@ namespace kumi
6464 // ! ## Examples
6565 // ! @include doc/tuple/algo/back-front.cpp
6666 // ! @include doc/record/algo/back-front.cpp
67- // ================================================================================================
67+ // ====================================================================================================================
6868 template <concepts::product_type T>
6969 [[nodiscard]] KUMI_ABI constexpr decltype (auto ) back(T&& t)
7070 requires(size_v<T> != 0 )
0 commit comments