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>
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
);
42 template<class Ch
, class Tr
, class T
>
43 void apply_manip_body (stream_format_state
<Ch
, Tr
>& self
,
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
);
60 #endif // BOOST_FORMAT_INTERNAL_FWD_HPP