cpp/locale/wbuffer convert

std is a wrapper over stream buffer of type which gives it the appearance of. All I/O performed through std undergoes character conversion as defined by the facet. std assumes ownership of the conversion facet, and cannot use a facet managed by a locale. The standard facets suitable for use with std are std for UTF-8/UCS-2 and UTF-8/UCS-4 conversions and std for UTF-8/UTF-16 conversions.

This class template makes the implicit character conversion functionality of std available for any std.