There is a small discrepancy between the declarations of imbue(): in [ios.base] the argument is passed as locale const& (correct), in [ios.base.locales] it is passed as locale const (wrong).