The second function version sets fillch as the new fill character and returns the fill character previously set.
The fill character is the character used by output insertion functions to fill spaces when padding results to the field width.
The parameterized manipulator setfill can also be used to set the fill character.
- the new character to be used as fill character.
Return ValueThe value of the fill character before the call.
The output of this example is something similar to:
Basic template member declaration( basic_ios<charT,traits> )
|setfill||Set fill character (manipulator function)|
|ios_base::width||Get/set field width (public member function)|