Yes, but you can't use flexible array members with a void array. So you will need to have a specialized structure for every data type (or use some macro system to generate these).
It is an excellent alternative for numerics when you usually work with simple types like int and double.
It is an excellent alternative for numerics when you usually work with simple types like int and double.