~ubuntu-branches/ubuntu/oneiric/bombono-dvd/oneiric

« back to all changes in this revision

Viewing changes to libs/boost-lib/boost/format/internals.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101104114625-2tfaxma74eqggp5r
Tags: 0.8.0-0ubuntu1
* New upstream release (LP: #670193).
* Refresh 02_sparc.diff patch.
* Replace 05-boost_filesystem-link.patch with 05-fix_boost.patch, it fixes
  build failure with Boost <= 1.44.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
            os.imbue(loc_.get());
120
120
        else if(loc_default)
121
121
            os.imbue(*loc_default);
 
122
#else
 
123
        (void) loc_default; // keep compiler quiet if we don't support locales
122
124
#endif        
123
125
    }
124
126
 
146
148
 
147
149
    template<class Ch, class Tr> inline
148
150
    void stream_format_state<Ch,Tr>:: reset(Ch fill) {
149
 
        // set our params to standard's default state.   cf � 27.4.4.1 of the C++ norm
 
151
        // set our params to standard's default state.   cf 27.4.4.1 of the C++ norm
150
152
        width_=0; precision_=6; 
151
153
        fill_=fill; // default is widen(' '), but we cant compute it without the locale
152
154
        flags_ = std::ios_base::dec | std::ios_base::skipws;