]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/format/internals_fwd.hpp
Don't allow newline characters in document settings.
[lyx.git] / boost / boost / format / internals_fwd.hpp
index da5ebf1d3701291312fd13f5948bca5f7c3d09cf..e44eb3c1324b2e5dcc8eed368fe9f728fc84ec20 100644 (file)
@@ -1,20 +1,14 @@
-// -*- C++ -*-
-//  Boost general library 'format'   ---------------------------
-//  See http://www.boost.org for updates, documentation, and revision history.
+// ----------------------------------------------------------------------------
+// internals_fwd.hpp :  forward declarations, for internal headers
+// ----------------------------------------------------------------------------
 
-//  (C) Samuel Krempp 2001
-//                  krempp@crans.ens-cachan.fr
-//  Permission to copy, use, modify, sell and
-//  distribute this software is granted provided this copyright notice appears
-//  in all copies. This software is provided "as is" without express or implied
-//  warranty, and with no claim as to its suitability for any purpose.
+//  Copyright Samuel Krempp 2003. Use, modification, and distribution are
+//  subject to the Boost Software License, Version 1.0. (See accompanying
+//  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 
-// ideas taken from RĂ¼diger Loos's format class
-// and Karl Nelson's ofstream (also took its parsing code as basis for printf parsing)
+//  See http://www.boost.org/libs/format for library home page
 
-// ------------------------------------------------------------------------------
-// internals_fwd.hpp :  forward declarations, for internal headers
-// ------------------------------------------------------------------------------
+// ----------------------------------------------------------------------------
 
 #ifndef BOOST_FORMAT_INTERNAL_FWD_HPP
 #define BOOST_FORMAT_INTERNAL_FWD_HPP
@@ -28,34 +22,34 @@ namespace io {
 
 namespace detail {
   template<class Ch, class Tr> struct stream_format_state;
-  template<class Ch, class Tr> struct format_item;
-}
+    template<class Ch, class Tr, class Alloc> struct format_item;
 
 
-namespace detail {
-
   // these functions were intended as methods, 
   // but MSVC have problems with template member functions :
-
   // defined in format_implementation.hpp :
-     template<class Ch, class Tr, class T> 
-     basic_format<Ch, Tr>&  modify_item_body( basic_format<Ch, Tr>& self, 
-                                          int itemN, T manipulator);
+    template<class Ch, class Tr, class Alloc, class T> 
+    basic_format<Ch, Tr, Alloc>&  
+    modify_item_body (basic_format<Ch, Tr, Alloc>& self, 
+                      int itemN, T manipulator);
 
-     template<class Ch, class Tr, class T> 
-     basic_format<Ch, Tr>&  bind_arg_body( basic_format<Ch, Tr>& self,
-                                           int argN, const T& val);
+    template<class Ch, class Tr, class Alloc, class T> 
+    basic_format<Ch, Tr, Alloc>&  
+    bind_arg_body (basic_format<Ch, Tr, Alloc>& self,
+                   int argN, const T& val);
 
+    // in internals.hpp :
     template<class Ch, class Tr, class T> 
-    void apply_manip_bodystream_format_state<Ch, Tr>& self,
+    void apply_manip_body (stream_format_state<Ch, Tr>& self,
                            T manipulator);
 
-  // argument feeding (defined in feed_args.hpp ) :
-     template<class Ch, class Tr, class T> 
-     void distribute(basic_format<Ch,Tr>& self, T x);
+    // argument feeding (defined in feed_args.hpp ) :
+    template<class Ch, class Tr, class Alloc, class T> 
+    void distribute (basic_format<Ch,Tr, Alloc>& self, T x);
 
-     template<class Ch, class Tr, class T> 
-     basic_format<Ch, Tr>& feed(basic_format<Ch,Tr>& self, T x);
+    template<class Ch, class Tr, class Alloc, class T> 
+    basic_format<Ch, Tr, Alloc>& 
+    feed (basic_format<Ch,Tr, Alloc>& self, T x);
  
 } // namespace detail