(C++) void\*

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) void*

 

void* (or void pointer) is a type of pointer to an address of unknown data type.

 

Avoid void* except in low-level code [1].

 

 

 

 

 

References

 

  1. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 7.8. Advice, page 199: 'Avoid void* except in low-level code'