예제 #1
0
 void apply_manip_body( stream_format_state<Ch, Tr>& self,
                        T manipulator) {
     // modify our params according to the manipulator
     basic_oaltstringstream<Ch, Tr>  ss;
     self.apply_on( ss );
     ss << manipulator;
     self.set_by_stream( ss );
 }
예제 #2
0
template<class Ch, class Tr, class T>  inline
void apply_manip_body( stream_format_state<Ch, Tr>& self,
                       T manipulator) 
  // modify our params according to the manipulator
{
      BOOST_IO_STD basic_stringstream<Ch, Tr>  ss;
      self.apply_on( ss );
      ss << manipulator;
      self.set_by_stream( ss );
}