comparison DEPENDENCIES/generic/include/boost/spirit/home/qi/numeric/real_policies.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
114 return false; // not "nan" 114 return false; // not "nan"
115 115
116 // nan[(...)] ? 116 // nan[(...)] ?
117 if (detail::string_parse("nan", "NAN", first, last, unused)) 117 if (detail::string_parse("nan", "NAN", first, last, unused))
118 { 118 {
119 if (*first == '(') 119 if (first != last && *first == '(')
120 { 120 {
121 // skip trailing (...) part 121 // skip trailing (...) part
122 Iterator i = first; 122 Iterator i = first;
123 123
124 while (++i != last && *i != ')') 124 while (++i != last && *i != ')')