forked from boostorg/io
Support stream width and fill and write directly to stream buffer
This commit is contained in:
@@ -25,7 +25,7 @@ int main()
|
||||
{
|
||||
std::wostringstream os;
|
||||
os.width(1);
|
||||
os.fill('.');
|
||||
os.fill(L'.');
|
||||
os.setf(std::ios_base::left, std::ios_base::adjustfield);
|
||||
boost::io::ostream_put(os, L"xy", 2);
|
||||
BOOST_TEST(os.good());
|
||||
@@ -45,7 +45,7 @@ int main()
|
||||
{
|
||||
std::wostringstream os;
|
||||
os.width(1);
|
||||
os.fill('.');
|
||||
os.fill(L'.');
|
||||
os.setf(std::ios_base::right, std::ios_base::adjustfield);
|
||||
boost::io::ostream_put(os, L"xy", 2);
|
||||
BOOST_TEST(os.good());
|
||||
|
||||
Reference in New Issue
Block a user