studoot
Senior Member
35 Posts |
Posted - Mar 09 2009 : 2:35:18 PM
|
If I get Visual Assist's 'Add Include' refactoring action to add an include for std::wofstream, it inserts '#include <iosfwd>'. While this declares std::wofstream, std::wofstream is just a typedef and the underlying type (std::basic_ofstream in this case) remains undefined (it's just declared within iosfwd, not defined).
Maybe the 'Add Include' action could recognise that it's adding an include for a typedef and add a second include (if necessary) to ensure definition of the type that is being typedefed?
|
|