• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>Spirit V2.5.8</title>
5<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../index.html" title="Spirit 2.5.8">
8<link rel="up" href="../what_s_new.html" title="What's New">
9<link rel="prev" href="spirit_2_5_8_boost_1_71.html" title="Spirit V2.5.8 (Boost V1.71.0)">
10<link rel="next" href="spirit_2_5_7.html" title="Spirit V2.5.7">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="spirit_2_5_8_boost_1_71.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../what_s_new.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="spirit_2_5_7.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="spirit.what_s_new.spirit_2_5_8"></a><a class="link" href="spirit_2_5_8.html" title="Spirit V2.5.8">Spirit V2.5.8</a>
28</h3></div></div></div>
29<h5>
30<a name="spirit.what_s_new.spirit_2_5_8.h0"></a>
31        <span class="phrase"><a name="spirit.what_s_new.spirit_2_5_8.what_s_changed_from_v2_5_7__boost_v1_69_0__to_v2_5_8__boost_v1_70_0_"></a></span><a class="link" href="spirit_2_5_8.html#spirit.what_s_new.spirit_2_5_8.what_s_changed_from_v2_5_7__boost_v1_69_0__to_v2_5_8__boost_v1_70_0_">What's
32        changed from V2.5.7 (Boost V1.69.0) to V2.5.8 (Boost V1.70.0)</a>
33      </h5>
34<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
35<li class="listitem">
36            Removed use of deprecated <code class="computeroutput"><span class="identifier">boost</span><span class="special">/</span><span class="identifier">detail</span><span class="special">/</span><span class="identifier">iterator</span><span class="special">.</span><span class="identifier">hpp</span></code>
37            header <a href="https://github.com/boostorg/spirit/pull/432" target="_top">GH#432</a>
38          </li>
39<li class="listitem">
40            Macro name collisions and namespace conflicts with Boost.Endian were
41            fixed. <a href="https://github.com/boostorg/spirit/pull/349" target="_top">GH#349</a> <a href="https://github.com/boostorg/spirit/pull/482" target="_top">GH#482</a>
42          </li>
43</ul></div>
44<h5>
45<a name="spirit.what_s_new.spirit_2_5_8.h1"></a>
46        <span class="phrase"><a name="spirit.what_s_new.spirit_2_5_8.bug_fixes_in_qi"></a></span><a class="link" href="spirit_2_5_8.html#spirit.what_s_new.spirit_2_5_8.bug_fixes_in_qi">Bug
47        Fixes in Qi</a>
48      </h5>
49<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
50<li class="listitem">
51            Added static asserts for rule skipper type problems. <a href="https://github.com/boostorg/spirit/pull/427" target="_top">GH#427</a>
52          </li>
53<li class="listitem">
54            The <code class="computeroutput"><span class="identifier">check_overflow</span></code> trait
55            default implementation now relies on <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">is_bounded</span></code>
56            instead of <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">integer_traits</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">is_integral</span></code> <a href="https://github.com/boostorg/spirit/pull/429" target="_top">GH#429</a>
57          </li>
58<li class="listitem">
59            Integer parsers should now handle user defined types. <a href="https://github.com/boostorg/spirit/pull/429" target="_top">GH#429</a>
60          </li>
61<li class="listitem">
62            <span class="bold"><strong>Note:</strong></span> The <code class="computeroutput"><span class="identifier">check_overflow</span></code>
63            trait default implementation now relies on <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">is_bounded</span></code>
64            instead of <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">integer_traits</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">is_integral</span></code>.
65          </li>
66<li class="listitem">
67            Removed broken 1.0#INF parser. It was poorly documented and never worked.
68            <a href="https://github.com/boostorg/spirit/issues/415" target="_top">GH#415</a> <a href="https://github.com/boostorg/spirit/pull/458" target="_top">GH#458</a> <a href="https://svn.boost.org/trac/boost/ticket/8699" target="_top">TRAC#8699</a>
69          </li>
70<li class="listitem">
71            The undocumented <code class="computeroutput"><span class="identifier">make_attribute</span></code>
72            trait was merged into <code class="computeroutput"><span class="identifier">transform_attribute</span></code>
73            trait. <a href="https://github.com/boostorg/spirit/pull/471" target="_top">GH#471</a>
74          </li>
75<li class="listitem">
76            The <code class="computeroutput"><span class="identifier">pre_transform</span></code>, <code class="computeroutput"><span class="identifier">post_transform</span></code>, and <code class="computeroutput"><span class="identifier">fail_transform</span></code>
77            utility functions were removed in favor of directly using <code class="computeroutput"><span class="identifier">pre</span></code>/<code class="computeroutput"><span class="identifier">post</span></code>/<code class="computeroutput"><span class="identifier">fail</span></code> of the transform trait. <a href="https://github.com/boostorg/spirit/pull/467" target="_top">GH#467</a>
78          </li>
79<li class="listitem">
80            The integer value parser now respects <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">digits10</span></code>
81            value. <a href="https://github.com/boostorg/spirit/pull/469" target="_top">GH#469</a>
82          </li>
83<li class="listitem">
84            Fixed underflow check for a <code class="computeroutput"><span class="special">(</span><span class="identifier">Min</span> <span class="special">%</span> <span class="identifier">Base</span><span class="special">)</span> <span class="special">==</span> <span class="number">0</span></code> corner
85            case. <a href="https://github.com/boostorg/spirit/pull/469" target="_top">GH#469</a>
86          </li>
87<li class="listitem">
88            Fixed an output value on overflow of IgnoreOverflowDigits=true integer
89            parser. <a href="https://github.com/boostorg/spirit/pull/470" target="_top">GH#470</a>
90          </li>
91<li class="listitem">
92            Special handling of references in <code class="computeroutput"><span class="identifier">transform_attribute</span></code>
93            was removed. <a href="https://github.com/boostorg/spirit/pull/480" target="_top">GH#480</a>
94          </li>
95</ul></div>
96<h5>
97<a name="spirit.what_s_new.spirit_2_5_8.h2"></a>
98        <span class="phrase"><a name="spirit.what_s_new.spirit_2_5_8.bug_fixes_in_lex"></a></span><a class="link" href="spirit_2_5_8.html#spirit.what_s_new.spirit_2_5_8.bug_fixes_in_lex">Bug
99        Fixes in Lex</a>
100      </h5>
101<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
102            Fixed UB in default constructor of lexer with user specified token type.
103            <a href="https://github.com/boostorg/spirit/pull/420" target="_top">GH#420</a>
104          </li></ul></div>
105<h5>
106<a name="spirit.what_s_new.spirit_2_5_8.h3"></a>
107        <span class="phrase"><a name="spirit.what_s_new.spirit_2_5_8.bug_fixes_in_utree"></a></span><a class="link" href="spirit_2_5_8.html#spirit.what_s_new.spirit_2_5_8.bug_fixes_in_utree">Bug
108        Fixes in utree</a>
109      </h5>
110<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
111<li class="listitem">
112            Fixed UB in tag getter due to left shift of negative value. <a href="https://github.com/boostorg/spirit/pull/423" target="_top">GH#423</a>
113          </li>
114<li class="listitem">
115            Fixed double-conversion (<code class="computeroutput"><span class="identifier">spirit</span><span class="special">::</span><span class="identifier">string</span>
116            <span class="special">-&gt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span>
117            <span class="special">-&gt;</span> <span class="identifier">spirit</span><span class="special">::</span><span class="identifier">string</span></code>).
118            <a href="https://github.com/boostorg/spirit/pull/462" target="_top">GH#462</a>
119          </li>
120</ul></div>
121</div>
122<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
123<td align="left"></td>
124<td align="right"><div class="copyright-footer">Copyright © 2001-2011 Joel de Guzman, Hartmut Kaiser<p>
125        Distributed under the Boost Software License, Version 1.0. (See accompanying
126        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
127      </p>
128</div></td>
129</tr></table>
130<hr>
131<div class="spirit-nav">
132<a accesskey="p" href="spirit_2_5_8_boost_1_71.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../what_s_new.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="spirit_2_5_7.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
133</div>
134</body>
135</html>
136