summaryrefslogtreecommitdiff
path: root/nix/boost/format/format_fwd.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'nix/boost/format/format_fwd.hpp')
-rw-r--r--nix/boost/format/format_fwd.hpp49
1 files changed, 0 insertions, 49 deletions
diff --git a/nix/boost/format/format_fwd.hpp b/nix/boost/format/format_fwd.hpp
deleted file mode 100644
index 97c55f6684c..00000000000
--- a/nix/boost/format/format_fwd.hpp
+++ /dev/null
@@ -1,49 +0,0 @@
1// -*- C++ -*-
2// Boost general library 'format' ---------------------------
3// See http://www.boost.org for updates, documentation, and revision history.
4
5// (C) Samuel Krempp 2001
6// krempp@crans.ens-cachan.fr
7// Permission to copy, use, modify, sell and
8// distribute this software is granted provided this copyright notice appears
9// in all copies. This software is provided "as is" without express or implied
10// warranty, and with no claim as to its suitability for any purpose.
11
12// ideas taken from Rüdiger Loos's format class
13// and Karl Nelson's ofstream (also took its parsing code as basis for printf parsing)
14
15// ------------------------------------------------------------------------------
16// format_fwd.hpp : forward declarations, for primary header format.hpp
17// ------------------------------------------------------------------------------
18
19#ifndef BOOST_FORMAT_FWD_HPP
20#define BOOST_FORMAT_FWD_HPP
21
22#include <string>
23#include <iosfwd>
24
25namespace boost {
26
27class basic_format;
28
29typedef basic_format format;
30
31namespace io {
32enum format_error_bits { bad_format_string_bit = 1,
33 too_few_args_bit = 2, too_many_args_bit = 4,
34 out_of_range_bit = 8,
35 all_error_bits = 255, no_error_bits=0 };
36
37// Convertion: format to string
38std::string str(const basic_format& ) ;
39
40} // namespace io
41
42
43BOOST_IO_STD ostream&
44operator<<( BOOST_IO_STD ostream&, const basic_format&);
45
46
47} // namespace boost
48
49#endif // BOOST_FORMAT_FWD_HPP