Search:
Forum
General C++ Programming
Nest Classes
Nest Classes
Sep 11, 2021 at 4:37pm UTC
rhamm5798
(33)
I am just wondering, when or why would I choose to use
nested classes
and why not just use
composition.
I know I am missing something ...
Thank You kindly,
Bob
Sep 11, 2021 at 4:41pm UTC
deleted account xyzzy
(5768)
Look at the first answer to this stackoverflow question:
https://stackoverflow.com/questions/4571355/why-would-one-use-nested-classes-in-c
Overall nested classes are very narrowly useful, not needed for most purposes.
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs