Skip to content
Snippets Groups Projects
Commit 54c813f8 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

fix documentation

parent bd3e231c
No related branches found
No related tags found
No related merge requests found
......@@ -213,6 +213,8 @@ struct compare < ext::array < T, N > > {
*
* \tparam T the type of values inside the array
* \tparam N the size of the array
*
* \return string representation
*/
template< class T, std::size_t N >
std::string to_string ( const ext::array < T, N > & value ) {
......
......@@ -136,6 +136,8 @@ struct compare < ext::bitset < N > > {
* \param value the bitset to be converted to string
*
* \tparam N the size of the bitset
*
* \return string representation
*/
template < size_t N >
std::string to_string ( const ext::bitset < N > & value ) {
......
......@@ -213,6 +213,8 @@ struct compare < ext::deque < T, Ts ... > > {
*
* \tparam T the type of values inside the deque
* \tparam Ts ... remaining unimportant template parameters of the deque
*
* \return string representation
*/
template < class T, class ... Ts >
std::string to_string ( const ext::deque < T, Ts ... > & value ) {
......
......@@ -146,6 +146,8 @@ struct compare<ext::forward_list<T, Ts ... >> {
*
* \tparam T the type of values inside the forward_list
* \tparam Ts ... remaining unimportant template parameters of the forward_list
*
* \return string representation
*/
template < class T, class ... Ts >
std::string to_string ( const ext::forward_list < T, Ts ... > & value ) {
......
......@@ -1237,6 +1237,8 @@ struct compare < ext::forward_tree < T > > {
* \param value the forward_tree to be converted to string
*
* \tparam T the type of values inside the forward_tree
*
* \return string representation
*/
template < class T >
std::string to_string ( const ext::forward_tree < T > & value ) {
......
......@@ -877,6 +877,8 @@ struct compare<ext::linear_set<T, Ts ...>> {
*
* \tparam T the type of values inside the set
* \tparam Ts ... remaining unimportant template parameters of the set
*
* \return string representation
*/
template < class T, class ... Ts >
std::string to_string ( const ext::linear_set < T, Ts ... > & value ) {
......
......@@ -206,6 +206,8 @@ struct compare < ext::list < T, Ts ... > > {
*
* \tparam T the type of values inside the list
* \tparam Ts ... remaining unimportant template parameters of the list
*
* \return string representation
*/
template < class T, class ... Ts >
std::string to_string ( const ext::list < T, Ts ... > & value ) {
......
......@@ -304,6 +304,8 @@ struct compare < ext::map < T, R, Ts ... > > {
*
* \tparam T the type of values inside the map
* \tparam Ts ... remaining unimportant template parameters of the map
*
* \return string representation
*/
template < class T, class R, class ... Ts >
std::string to_string ( const ext::map < T, R, Ts ... > & value ) {
......
......@@ -136,6 +136,8 @@ struct compare < ext::pair < T, R > > {
*
* \tparam T the type of the first value inside the pair
* \tparam R the type of the second value inside the pair
*
* \return string representation
*/
template < class T, class R >
std::string to_string ( const ext::pair < T, R > & value ) {
......
......@@ -37,7 +37,7 @@ namespace ext {
 
/**
* \brief
* Implementation of array storing synamicaly allocated instances of given type. The class mimicks the iterface of the standard library array, but effectively allowing polymorphic objects to be stored inside.
* Implementation of array storing dynamicaly allocated instances of given type. The class mimicks the iterface of the standard library array, but effectively allows polymorphic objects to be stored inside.
*
* \tparam T the type of stored values
* \tparam N the size of the array
......@@ -582,6 +582,8 @@ namespace std {
* \tparam Type the type of stored values
* \tparam N the size of the array
*
* \param tpl the accessed tuple
*
* \return reference to value on given index
*/
template < std::size_t I, class Type, std::size_t N >
......@@ -597,6 +599,8 @@ auto & get ( ext::ptr_array < Type, N > & tpl ) {
* \tparam Type the type of stored values
* \tparam N the size of the array
*
* \param tpl the accessed tuple
*
* \return reference to value on given index
*/
template < std::size_t I, class Type, std::size_t N >
......@@ -612,6 +616,8 @@ const auto & get ( const ext::ptr_array < Type, N > & tpl ) {
* \tparam Type the type of stored values
* \tparam N the size of the array
*
* \param tpl the accessed tuple
*
* \return reference to value on given index
*/
template < std::size_t I, class Type, std::size_t N >
......@@ -683,6 +689,8 @@ struct compare < ext::ptr_array < T, N > > {
*
* \tparam T the type of values inside the array
* \tparam N the size of the array
*
* \return string representation
*/
template < class T, std::size_t N >
std::string to_string ( const ext::ptr_array < T, N > & value ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment