How C++ allocators work just like malloc and free

How C++ allocators work just like malloc and free