I tested it out, the base manipulators (hex / dec ) persist while setw and setfill reset.