@@ -780,6 +780,8 @@ struct Span<ElementType, SPAN_DYNAMIC_EXTENT> {
780
780
*
781
781
* @return True if Spans in input have the same size and the same content and
782
782
* false otherwise.
783
+ *
784
+ * @relates Span
783
785
*/
784
786
template <typename T, typename U, ptrdiff_t LhsExtent, ptrdiff_t RhsExtent>
785
787
bool operator ==(const Span<T, LhsExtent> &lhs, const Span<U, RhsExtent> &rhs)
@@ -833,6 +835,8 @@ bool operator==(T (&lhs)[LhsExtent], const Span<T, RhsExtent> &rhs)
833
835
*
834
836
* @return True if arrays in input do not have the same size or the same content
835
837
* and false otherwise.
838
+ *
839
+ * @relates Span
836
840
*/
837
841
template <typename T, typename U, ptrdiff_t LhsExtent, ptrdiff_t RhsExtent>
838
842
bool operator !=(const Span<T, LhsExtent> &lhs, const Span<U, RhsExtent> &rhs)
@@ -882,6 +886,8 @@ bool operator!=(T (&lhs)[LhsExtent], const Span<T, RhsExtent> &rhs)
882
886
*
883
887
* @note This helper avoids the typing of template parameter when Span is
884
888
* created 'inline'.
889
+ *
890
+ * @relates Span
885
891
*/
886
892
template <typename T, size_t Size>
887
893
Span<T, Size> make_Span (T (&elements)[Size])
@@ -920,6 +926,8 @@ Span<T, Extent> make_Span(T *elements)
920
926
*
921
927
* @note This helper avoids the typing of template parameter when Span is
922
928
* created 'inline'.
929
+ *
930
+ * @relates Span
923
931
*/
924
932
template <typename T>
925
933
Span<T> make_Span (T *array_ptr, ptrdiff_t array_size)
@@ -957,6 +965,8 @@ Span<const T, Extent> make_const_Span(const T (&elements)[Extent])
957
965
*
958
966
* @note This helper avoids the typing of template parameter when Span is
959
967
* created 'inline'.
968
+ *
969
+ * @relates Span
960
970
*/
961
971
template <size_t Extent, typename T>
962
972
Span<const T, Extent> make_const_Span (const T *elements)
@@ -977,6 +987,8 @@ Span<const T, Extent> make_const_Span(const T *elements)
977
987
*
978
988
* @note This helper avoids the typing of template parameter when Span is
979
989
* created 'inline'.
990
+ *
991
+ * @relates Span
980
992
*/
981
993
template <typename T>
982
994
Span<const T> make_const_Span (T *array_ptr, size_t array_size)
0 commit comments