2. using std::string's += operator instead of (more efficient) append for STLPORT + MSVC <= 7.0
msvc-6-stlport fails to find basic_string::append( Iter, Iter) when linking
with Iter = _STL::_DBG_iter< _STL::_Nondebug_string<char,
_STL::char_traits<char>,
_STL::allocator<char> >
might affect other MSwindows compilers.
[SVN r22236]
msvc-6-stlport fails to find basic_string::append( Iter, Iter) when linking
with Iter = _STL::_DBG_iter< _STL::_Nondebug_string<char,
_STL::char_traits<char>,
_STL::allocator<char> >
might affect other MSwindows compilers.
[SVN r22235]
. removed CompatFoo<CompatFoo< typename > > specializations (maybe msvc will be happy)
. fixed a few non-qualified 'size_t' (thanks cwpro8)
. moved free func boost::io::str(boost::basic_format const&) into boost:: (allows koenig lookup, much more convenient)
. changed the IO_NEEDS_USING_DECLARATION list (is this still required on some compiler ?)
and mostly cosmetic details (shortened //------ .. lines longer than 80 and other unnecessary long lines, changed comments, ..)
[SVN r21892]
gcc-2.95 which doesnt define stringbufs)
-> alt_sstream.hpp and alt_sstream_impl.hpp
. added a template framework (CompatTraits<>, CompatAlloc<>, CompatOStream) to
accomodate non-conforming stdlibs lacking while being transparent on conforming
platforms. (it allows supporting gcc-2.95)
-> compat_workarounds.hpp
. replaced basic_format::oss_ by a stringbuf. There was no way to be sure to reset its state fully
between calls to operator% (because of the stream's xalloc())
The right way is creating a new stream each time, but re-allocating a buffer each time has
a big impact
-> now basic_format stores a basic_altstringbuf
. more detailed exception classes (added data members to pass pertinant information)
. new source-header with reference to the new Boost license
[SVN r21856]
. gcc-2.95 with STLport has good stringstream, but format wasnt making the distinction
. stringbuf is now derived into a specific class, so outsstream can use it thru base_from_member, cleaner.
[SVN r20109]
. format::parse(..) now public.
. format constructors are now explicit
. improved string processing in feed_args.hpp and parsing.hpp
. feed_args.hpp : now produces sensible result when spacepad, or truncate, is specified and the user set the stream adjustfield to 'internal'
[SVN r20078]
macros_default.hpp -> detail/config_macros.hpp
macros_stlport.hpp -> detail/workarounds_stlport.hpp
msvc_disambiguater.hpp -> detail/msvc_disambiguater.hpp
workarounds_gcc-2.95.hpp -> detail/workarounds_gcc-2.95.hpp
added detail/unset_macros.hpp
2. moved outsstream.hpp 's implementation into outsstream_impl.hpp
And fixed the problem with gcc-2.95 failing to init the stream correctly.
[SVN r19986]