If you don't mind, I'll correct myself before someone else does. After looking at the standard, both are valid. ios_base is where the openmode app is defined, but ios is a typedef defined asOriginally Posted by Prelude
Where basic_ios is a template class derived from ios_base. So both will work, both are standard, and which you use looks to be a matter of style.Code:typedef basic_ios<char> ios;