[857] | 1 | // ----------------------------------------------------------------------------
|
---|
| 2 | // format.hpp : primary header
|
---|
| 3 | // ----------------------------------------------------------------------------
|
---|
| 4 |
|
---|
| 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)
|
---|
| 8 |
|
---|
| 9 | // See http://www.boost.org/libs/format for library home page
|
---|
| 10 |
|
---|
| 11 |
|
---|
| 12 | // ----------------------------------------------------------------------------
|
---|
| 13 |
|
---|
| 14 | #ifndef BOOST_FORMAT_HPP
|
---|
| 15 | #define BOOST_FORMAT_HPP
|
---|
| 16 |
|
---|
| 17 | #include <vector>
|
---|
| 18 | #include <string>
|
---|
| 19 | #include <boost/detail/workaround.hpp>
|
---|
| 20 | #include <boost/config.hpp>
|
---|
| 21 |
|
---|
| 22 | #ifndef BOOST_NO_STD_LOCALE
|
---|
| 23 | #include <locale>
|
---|
| 24 | #endif
|
---|
| 25 |
|
---|
| 26 | // *** Compatibility framework
|
---|
| 27 | #include <boost/format/detail/compat_workarounds.hpp>
|
---|
| 28 |
|
---|
| 29 | #ifdef BOOST_NO_LOCALE_ISIDIGIT
|
---|
| 30 | #include <cctype> // we'll use the non-locale <cctype>'s std::isdigit(int)
|
---|
| 31 | #endif
|
---|
| 32 |
|
---|
| 33 | // **** Forward declarations ----------------------------------
|
---|
| 34 | #include <boost/format/format_fwd.hpp> // basic_format<Ch,Tr>, and other frontends
|
---|
| 35 | #include <boost/format/internals_fwd.hpp> // misc forward declarations for internal use
|
---|
| 36 |
|
---|
| 37 | // **** Auxiliary structs (stream_format_state<Ch,Tr> , and format_item<Ch,Tr> )
|
---|
| 38 | #include <boost/format/internals.hpp>
|
---|
| 39 |
|
---|
| 40 | // **** Format class interface --------------------------------
|
---|
| 41 | #include <boost/format/format_class.hpp>
|
---|
| 42 |
|
---|
| 43 | // **** Exceptions -----------------------------------------------
|
---|
| 44 | #include <boost/format/exceptions.hpp>
|
---|
| 45 |
|
---|
| 46 | // **** Implementation -------------------------------------------
|
---|
| 47 | #include <boost/format/format_implementation.hpp> // member functions
|
---|
| 48 | #include <boost/format/group.hpp> // class for grouping arguments
|
---|
| 49 | #include <boost/format/feed_args.hpp> // argument-feeding functions
|
---|
| 50 | #include <boost/format/parsing.hpp> // format-string parsing (member-)functions
|
---|
| 51 |
|
---|
| 52 | // **** Implementation of the free functions ----------------------
|
---|
| 53 | #include <boost/format/free_funcs.hpp>
|
---|
| 54 |
|
---|
| 55 |
|
---|
| 56 | // *** Undefine 'local' macros :
|
---|
| 57 | #include <boost/format/detail/unset_macros.hpp>
|
---|
| 58 |
|
---|
| 59 | #endif // BOOST_FORMAT_HPP
|
---|