From ea100b44a3a6a8a67bce9e403e3f4f0b34e6e44c Mon Sep 17 00:00:00 2001 From: Franz Detro Date: Tue, 4 Sep 2012 12:15:07 +0200 Subject: [PATCH] imbue fix in boost format --- boost/format/feed_args.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/boost/format/feed_args.hpp b/boost/format/feed_args.hpp index 53243dc..3bb3ff5 100644 --- a/boost/format/feed_args.hpp +++ b/boost/format/feed_args.hpp @@ -140,6 +140,13 @@ namespace detail { typedef typename string_type::size_type size_type; basic_oaltstringstream oss( &buf); + + if (loc_p) + { + oss.imbue (*loc_p); + } + + specs.fmtstate_.apply_on(oss, loc_p); // the stream format state can be modified by manipulators in the argument : -- 1.7.11.1