| 213 | |
| 214 | template< typename CharType > |
| 215 | inline void callback( std::ios_base::event ev, std::ios_base & ios, int ) |
| 216 | { |
| 217 | if ( BasicIndentBufferManager< CharType >::instances() |
| 218 | && ev == std::ios_base::erase_event ) |
| 219 | { |
| 220 | BasicIndentBufferManager< CharType >::instance()->erase( ios ); |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | struct Indent |
| 225 | { |