Span: define doc groups.

pull/8637/head
Vincent Coubard 2018-10-23 12:15:47 +01:00 committed by Cruz Monrreal II
parent 500ae57910
commit f0adfbbfde
1 changed files with 11 additions and 0 deletions

View File

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