Hello,
is it possible to delete a void pointer, without explicitly typecasting it? I know the size of the memory to free, but not the type of the pointer. Example with typecasting:

Code:
int main(){
  void* ptr;
  ptr = new int(7);
  delete static_cast<int>(ptr);
}