M
M
MrSayMyName2016-10-13 16:38:05
Programming
MrSayMyName, 2016-10-13 16:38:05

Is it worth moving the type declaration to a separate file?

Hello.
There are 7 type declarations.
All 7 types are used in 2 classes.
The classes themselves are in several .cpp and .h files.
At the moment the type declarations are duplicated for both .h.
Should I move the type declarations to a separate .h and include them in the classes? Are the type declarations currently implemented correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mercury13, 2016-10-13
@Mercury13

Costs!
Name this header something like defines.h

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question