I want to know if I can split a C++ class declaration
Original class
class P { private: int id; //some really
If your purpose is to simply reduce clutter in your header, you can include a file in the middle of your class:
class P { #include "P.private_parts" protected: int x; public: P(); int getX(); };