fix doc example typo
[boost.git] / boost / format / internals_fwd.hpp
blobe44eb3c1324b2e5dcc8eed368fe9f728fc84ec20
1 // ----------------------------------------------------------------------------
2 // internals_fwd.hpp : forward declarations, for internal headers
3 // ----------------------------------------------------------------------------
5 // Copyright Samuel Krempp 2003. Use, modification, and distribution are
6 // subject to the Boost Software License, Version 1.0. (See accompanying
7 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 // See http://www.boost.org/libs/format for library home page
11 // ----------------------------------------------------------------------------
13 #ifndef BOOST_FORMAT_INTERNAL_FWD_HPP
14 #define BOOST_FORMAT_INTERNAL_FWD_HPP
16 #include <boost/format/format_fwd.hpp>
17 #include <boost/config.hpp>
20 namespace boost {
21 namespace io {
23 namespace detail {
24 template<class Ch, class Tr> struct stream_format_state;
25 template<class Ch, class Tr, class Alloc> struct format_item;
28 // these functions were intended as methods,
29 // but MSVC have problems with template member functions :
30 // defined in format_implementation.hpp :
31 template<class Ch, class Tr, class Alloc, class T>
32 basic_format<Ch, Tr, Alloc>&
33 modify_item_body (basic_format<Ch, Tr, Alloc>& self,
34 int itemN, T manipulator);
36 template<class Ch, class Tr, class Alloc, class T>
37 basic_format<Ch, Tr, Alloc>&
38 bind_arg_body (basic_format<Ch, Tr, Alloc>& self,
39 int argN, const T& val);
41 // in internals.hpp :
42 template<class Ch, class Tr, class T>
43 void apply_manip_body (stream_format_state<Ch, Tr>& self,
44 T manipulator);
46 // argument feeding (defined in feed_args.hpp ) :
47 template<class Ch, class Tr, class Alloc, class T>
48 void distribute (basic_format<Ch,Tr, Alloc>& self, T x);
50 template<class Ch, class Tr, class Alloc, class T>
51 basic_format<Ch, Tr, Alloc>&
52 feed (basic_format<Ch,Tr, Alloc>& self, T x);
54 } // namespace detail
56 } // namespace io
57 } // namespace boost
60 #endif // BOOST_FORMAT_INTERNAL_FWD_HPP