Форматирование кода
This commit is contained in:
@ -105,7 +105,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/** Constructor
|
||||
* @param container The container to construct from
|
||||
*/
|
||||
@ -121,7 +120,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
template< class CharT, class Traits, class Allocator >
|
||||
explicit
|
||||
span( std::basic_string< CharT, Traits, Allocator >& s ) :
|
||||
@ -130,7 +128,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
template< class CharT, class Traits, class Allocator >
|
||||
explicit
|
||||
span( std::basic_string< CharT, Traits, Allocator > const& s ) :
|
||||
@ -139,7 +136,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/** Assignment
|
||||
* @param container The container to assign from
|
||||
*/
|
||||
@ -154,7 +150,6 @@ public:
|
||||
return( *this );
|
||||
}
|
||||
|
||||
|
||||
template< class CharT, class Traits, class Allocator >
|
||||
span&
|
||||
operator=( std::basic_string<
|
||||
@ -165,7 +160,6 @@ public:
|
||||
return( *this );
|
||||
}
|
||||
|
||||
|
||||
template< class CharT, class Traits, class Allocator >
|
||||
span&
|
||||
operator=( std::basic_string<
|
||||
@ -176,7 +170,6 @@ public:
|
||||
return( *this );
|
||||
}
|
||||
|
||||
|
||||
/// Returns `true` if the span is empty
|
||||
bool
|
||||
empty() const
|
||||
@ -184,7 +177,6 @@ public:
|
||||
return( m_size == 0 );
|
||||
}
|
||||
|
||||
|
||||
/// Returns a pointer to the beginning of the span
|
||||
T*
|
||||
data() const
|
||||
@ -192,7 +184,6 @@ public:
|
||||
return( m_data );
|
||||
}
|
||||
|
||||
|
||||
/// Returns the number of elements in the span
|
||||
std::size_t
|
||||
size() const
|
||||
@ -200,7 +191,6 @@ public:
|
||||
return( m_size );
|
||||
}
|
||||
|
||||
|
||||
/// Returns an iterator to the beginning of the span
|
||||
Iterator
|
||||
begin() const
|
||||
@ -208,7 +198,6 @@ public:
|
||||
return( m_data );
|
||||
}
|
||||
|
||||
|
||||
/// Returns an iterator to the beginning of the span
|
||||
ConstIterator
|
||||
cbegin() const
|
||||
@ -216,7 +205,6 @@ public:
|
||||
return( m_data );
|
||||
}
|
||||
|
||||
|
||||
/// Returns an iterator to one past the end of the span
|
||||
Iterator
|
||||
end() const
|
||||
@ -224,7 +212,6 @@ public:
|
||||
return( m_data + m_size );
|
||||
}
|
||||
|
||||
|
||||
/// Returns an iterator to one past the end of the span
|
||||
ConstIterator
|
||||
cend() const
|
||||
|
Reference in New Issue
Block a user