Span: define doc groups.

pull/8504/head
Vincent Coubard 2018-10-23 12:15:47 +01:00
parent c956a93252
commit 1e30ed599e
1 changed files with 11 additions and 0 deletions

View File

@ -25,6 +25,13 @@
namespace mbed {
/** \addtogroup platform */
/** @{*/
/**
* \defgroup platform_Span Span class
* @{
*/
// Internal details of Span
// It is used construct Span from Span of convertible types (non const -> const)
namespace span_detail {
@ -996,6 +1003,10 @@ Span<const T> make_const_Span(T *array_ptr, size_t array_size)
return Span<const T>(array_ptr, array_size);
}
/**@}*/
/**@}*/
} // namespace mbed
#endif /* MBED_PLATFORM_SPAN_H_ */