c++ - Class overloading? -


this question has answer here:

can have class in c++, in different .hpp files?

because have class called map 5000 lines , wonder know if can split in 2 or 3 files same class name, , if other headers see class if wasn't split.

no, can't that.

besides, class way big. instead of trying split lexically, consider splitting semantically, multiple classes. read single responsibility principle.

in short, there moderately serious design problem @ core of question.


Popular posts from this blog

debugging - Reference - What does this error mean in PHP? -

Perl "Out of memory!" when processing a large batch job -