2 // Boost general library 'format' ---------------------------
3 // See http://www.boost.org for updates, documentation, and revision history.
5 // (C) Samuel Krempp 2001
6 // Permission to copy, use, modify, sell and
7 // distribute this software is granted provided this copyright notice appears
8 // in all copies. This software is provided "as is" without express or implied
9 // warranty, and with no claim as to its suitability for any purpose.
12 // ----------------------------------------------------------------------------
13 // format.hpp : primary header
14 // ----------------------------------------------------------------------------
16 #ifndef BOOST_FORMAT_HPP
17 #define BOOST_FORMAT_HPP
21 #include <boost/detail/workaround.hpp>
22 #include <boost/format/detail/config_macros.hpp>
24 #ifndef BOOST_NO_STD_LOCALE
28 #ifdef BOOST_NO_LOCALE_ISIDIGIT
29 #include <cctype> // we'll use the non-locale <cctype>'s std::isdigit(int)
32 // **** Forward declarations ----------------------------------
33 #include <boost/format/format_fwd.hpp> // basic_format<Ch,Tr>, and other frontends
34 #include <boost/format/internals_fwd.hpp> // misc forward declarations for internal use
36 // **** Auxiliary structs (stream_format_state<Ch,Tr> , and format_item<Ch,Tr> )
37 #include <boost/format/internals.hpp>
39 // **** Format class interface --------------------------------
40 #include <boost/format/format_class.hpp>
42 // **** Exceptions -----------------------------------------------
43 #include <boost/format/exceptions.hpp>
45 // **** Implementation -------------------------------------------
46 #include <boost/format/format_implementation.hpp> // member functions
47 #include <boost/format/group.hpp> // class for grouping arguments
48 #include <boost/format/feed_args.hpp> // argument-feeding functions
49 #include <boost/format/parsing.hpp> // format-string parsing (member-)functions
51 // **** Implementation of the free functions ----------------------
52 #include <boost/format/free_funcs.hpp>
55 // *** Undefine 'local' macros :
56 #include <boost/format/detail/unset_macros.hpp>
58 #endif // BOOST_FORMAT_HPP