1 /*=============================================================================
2 Copyright (C) 2006 Tobias Schwinger
3 http://spirit.sourceforge.net/
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 =============================================================================*/
8 #if !defined(BOOST_SPIRIT_NUMERICS_FWD_HPP)
9 # define BOOST_SPIRIT_NUMERICS_FWD_HPP
11 #include <boost/spirit/home/classic/namespace.hpp>
13 namespace boost { namespace spirit {
15 BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
17 ///////////////////////////////////////////////////////////////////////////
21 ///////////////////////////////////////////////////////////////////////////
23 typename T = unsigned,
25 unsigned MinDigits = 1,
30 ///////////////////////////////////////////////////////////////////////////
34 ///////////////////////////////////////////////////////////////////////////
36 typename T = unsigned,
38 unsigned MinDigits = 1,
43 ///////////////////////////////////////////////////////////////////////////
47 ///////////////////////////////////////////////////////////////////////////
50 ///////////////////////////////////////////////////////////////////////////
52 // default real number policies
54 ///////////////////////////////////////////////////////////////////////////
56 struct ureal_parser_policies;
59 struct real_parser_policies;
61 ///////////////////////////////////////////////////////////////////////////
65 ///////////////////////////////////////////////////////////////////////////
68 typename RealPoliciesT = ureal_parser_policies<T>
72 ///////////////////////////////////////////////////////////////////////////
74 // strict reals (do not allow plain integers (no decimal point))
76 ///////////////////////////////////////////////////////////////////////////
78 struct strict_ureal_parser_policies;
81 struct strict_real_parser_policies;
83 BOOST_SPIRIT_CLASSIC_NAMESPACE_END
85 }} // namespace BOOST_SPIRIT_CLASSIC_NS