T O P I C R E V I E W |
studoot |
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?
|
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Mar 10 2009 : 4:51:05 PM This is a very good point, I have put in a feature request for this:
case=24899 |
|
|