|
Blaze 3.9
|
Classes | |
| class | blaze::InitializerVector< Type, TF, Tag > |
| Dense vector representation of an initializer list. More... | |
InitializerVector operators | |
| template<typename Type, bool TF, typename Tag> | |
| bool | blaze::isIntact (const InitializerVector< Type, TF, Tag > &v) noexcept |
| Returns whether the invariants of the given initializer vector are intact. | |
| template<typename Type, bool TF, typename Tag> | |
| void | blaze::swap (InitializerVector< Type, TF, Tag > &a, InitializerVector< Type, TF, Tag > &b) noexcept |
| Swapping the contents of two vectors. | |
|
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. |