FAQ: Why can't I put a forward-declared class in a std::vector<>? ←(in the new Super-FAQ)
It's in Section: Miscellaneous technical issues:
- FAQ: How do I convert a value (a number, for example) to a std::string?
- FAQ: How do I convert a std::string to a number?
- FAQ: Can I templatize the above functions so they work with other types?
- FAQ: What should be done with macros that contain if?
- FAQ: What should be done with macros that have multiple lines?
- FAQ: What should be done with macros that need to paste two tokens together?
- FAQ: Why can't the compiler find my header file in #include "c:\test.h" ?
- FAQ: What are the C++ scoping rules for for loops?
- FAQ: Why can't I overload a function by its return type?
- FAQ: What is "persistence"? What is a "persistent object"?
- FAQ: How can I create two classes that both know about each other?
- FAQ: What special considerations are needed when forward declarations are used with member objects?
- FAQ: What special considerations are needed when forward declarations are used with inline functions?
- FAQ: Why can't I put a forward-declared class in a std::vector<>? (this FAQ)
- FAQ: Why do some people think x = ++y + y++ is bad?
- FAQ: What's the deal with "sequence points"?