]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/quickbook/src/post_process.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / tools / quickbook / src / post_process.hpp
1 /*=============================================================================
2 Copyright (c) 2005 2006 Joel de Guzman
3 http://spirit.sourceforge.net/
4
5 Use, modification and distribution is subject to the Boost Software
6 License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 http://www.boost.org/LICENSE_1_0.txt)
8 =============================================================================*/
9 #if !defined(BOOST_SPIRIT_QUICKBOOK_POST_PROCESS_HPP)
10 #define BOOST_SPIRIT_QUICKBOOK_POST_PROCESS_HPP
11
12 #include <string>
13 #include <stdexcept>
14
15 namespace quickbook
16 {
17 std::string post_process(
18 std::string const& in
19 , int indent = -1
20 , int linewidth = -1);
21
22 struct post_process_failure : public std::runtime_error
23 {
24 public:
25 explicit post_process_failure(std::string const& error)
26 : std::runtime_error(error) {}
27 };
28 }
29
30 #endif // BOOST_SPIRIT_QUICKBOOK_POST_PROCESS_HPP
31