![]() |
Project
|
Functions | |
template<typename ValueType , typename... Args> | |
constexpr size_t | value_size (ValueType const &value, Args &&... args) |
|
constexpr |
Calculate cumulative value size of a variable number of arguments The function takes parameters by reference and calculates the memory size of all parameters together. The pointer attribute is removed.
Example: char* array1; int* array2; float* array3; size = value_size(array1, array2, array3); // size is sizeof(char) + sizeof(int) + sizeof(float)
Definition at line 38 of file FlattenRestore.h.