copyfmt

Copies a basic_ios object.

  basic_ios& copyfmt(const basic_ios& rhs);
  
Remarks

Assigns members of *this object the corresponding objects of the rhs argument with certain exceptions. The exceptions are rdstate() is unchanged, exceptions() is altered last, and the contents or pword and iword arrays are copied not the pointers themselves.

Returns the this pointer .