ref: PImpl - cppreference.com
"Pointer to implementation" or "pImpl" is a C++ programming technique[1] that removes implementation details of a class from its object representation by placing them in a separate class, accessed through an opaque pointer:
You’re not doing that. You are placing the details of the class in the header.