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

c# - Update a combobox from a presenter (MVP) -

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

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -