c++ - How to move a class into its own file? -


in eclpise neon (4.6.0) in c++ project have header , associated source file contains 2 classes. move 1 of classes in own header/source. however, when select new -> class , type name of class, there error: "class exists" , wont let me create new header , source file.

of course there easy workarounds problem. create new class different name, copy , rename again. however, hoping more convenient.

what canonical way of moving class different file?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

android - Unable to generate FCM token from dynamically instantiated Firebase -