Stream buffer to read from and write to wstring objects.
Objects of this class maintain internally a sequence of wide characters that they use as their associated input sequence and/or associated output sequence. The internal sequence can be initialized from a wstring object, or copied to one, using member str.
Access to the internal sequence of characters is given to streams by means of the interface offered by the virtual members inherited from wstreambuf that are overriden in this class: