casacore
|
Classes | |
class | ao::uvector< Tp, Alloc > |
A container similar to std::vector, but one that allows construction without initializing its elements. More... | |
Functions | |
template<class Tp , class Alloc > | |
bool | ao::operator== (const uvector< Tp, Alloc > &lhs, const uvector< Tp, Alloc > &rhs) noexcept |
Compare two uvectors for equality. More... | |
template<class Tp , class Alloc > | |
bool | ao::operator!= (const uvector< Tp, Alloc > &lhs, const uvector< Tp, Alloc > &rhs) noexcept |
Compare two uvectors for inequality. More... | |
template<class Tp , class Alloc > | |
bool | ao::operator< (const uvector< Tp, Alloc > &lhs, const uvector< Tp, Alloc > &rhs) noexcept |
Compare two uvectors for smaller than. More... | |
template<class Tp , class Alloc > | |
bool | ao::operator<= (const uvector< Tp, Alloc > &lhs, const uvector< Tp, Alloc > &rhs) noexcept |
Compare two uvectors for smaller than or equal. More... | |
template<class Tp , class Alloc > | |
bool | ao::operator> (const uvector< Tp, Alloc > &lhs, const uvector< Tp, Alloc > &rhs) noexcept |
Compare two uvectors for larger than. More... | |
template<class Tp , class Alloc > | |
bool | ao::operator>= (const uvector< Tp, Alloc > &lhs, const uvector< Tp, Alloc > &rhs) noexcept |
Compare two uvectors for larger than or equal. More... | |
template<class Tp , class Alloc > | |
void | ao::swap (uvector< Tp, Alloc > &x, uvector< Tp, Alloc > &y) |
Swap the contents of the two uvectors. More... | |
|
inlinenoexcept |
Compare two uvectors for smaller than.
If two uvectors compare equal up to the length of one, the uvector with the smallest size is consider to be smaller.
Definition at line 1172 of file uvector.h.
References casacore::min().
|
inlinenoexcept |
Compare two uvectors for smaller than or equal.
If two uvectors compare equal up to the length of one, the uvector with the smallest size is consider to be smaller.
Definition at line 1190 of file uvector.h.
References casacore::min().
|
inline |
Swap the contents of the two uvectors.
Iterators to both vectors will remain valid and will point into to the swapped container afterwards. This function will never reallocate space.
The allocator will be swapped when the propagate_on_container_swap
of the respective allocator_trait
is true_type
. Its behaviour is undefined when the allocators do not compare equal and propagate_on_container_swap
is false.
Definition at line 1234 of file uvector.h.
References ao::uvector< Tp, Alloc >::swap().
Referenced by ao::uvector< Tp, Alloc >::swap().