![]() |
Classes | |
class | blaze::InitializerVector< Type, TF > |
Dense vector representation of an initializer list.The InitializerVector class template is a dense vector representation of an (extended) initializer list of arbitrary type. The type of the elements and the transpose flag of the vector can be specified via the two template parameters: More... | |
InitializerVector operators | |
template<typename Type , bool TF> | |
bool | blaze::isIntact (const InitializerVector< Type, TF > &v) noexcept |
Returns whether the invariants of the given initializer vector are intact. More... | |
template<typename Type , bool TF> | |
void | blaze::swap (InitializerVector< Type, TF > &a, InitializerVector< Type, TF > &b) noexcept |
Swapping the contents of two vectors. More... | |
|
inlinenoexcept |
Returns whether the invariants of the given initializer vector are intact.
v | The initializer vector to be tested. |
This function checks whether the invariants of the initializer vector are intact, i.e. if its state is valid. In case the invariants are intact, the function returns true, else it will return false. The following example demonstrates the use of the isIntact() function:
|
inlinenoexcept |
Swapping the contents of two vectors.
a | The first vector to be swapped. |
b | The second vector to be swapped. |