Timeline for C++ Is it okay to use nested classes as a way to namespace derived classes?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 2, 2023 at 21:55 | history | edited | Doc Brown | CC BY-SA 4.0 |
deleted 137 characters in body
|
Jun 2, 2023 at 21:52 | comment | added | Doc Brown | @nreh: I think I have to correct my answer a little bit - one can use some typedef to achieve the same for nested classes. | |
Jun 2, 2023 at 20:27 | comment | added | nreh |
Huh I didn't think of your second point. Being able to write using namespace Ground is actually really useful. Thanks!
|
|
Jun 2, 2023 at 6:05 | history | answered | Doc Brown | CC BY-SA 4.0 |