update boost
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
Distributed under 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)
|
||||
=============================================================================*/
|
||||
#ifndef FIXED_SIZE_QUEUE
|
||||
#define FIXED_SIZE_QUEUE
|
||||
#ifndef BOOST_SPIRIT_CLASSIC_ITERATOR_FIXED_SIZE_QUEUE_HPP
|
||||
#define BOOST_SPIRIT_CLASSIC_ITERATOR_FIXED_SIZE_QUEUE_HPP
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
#include <iterator>
|
||||
#include <cstddef>
|
||||
|
||||
#include <boost/spirit/home/classic/namespace.hpp>
|
||||
#include <boost/spirit/home/classic/core/assert.hpp> // for BOOST_SPIRIT_ASSERT
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
#ifndef POSITION_ITERATOR_IPP
|
||||
#define POSITION_ITERATOR_IPP
|
||||
#ifndef BOOST_SPIRIT_CLASSIC_ITERATOR_IMPL_POSITION_ITERATOR_IPP
|
||||
#define BOOST_SPIRIT_CLASSIC_ITERATOR_IMPL_POSITION_ITERATOR_IPP
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/iterator_adaptors.hpp>
|
||||
|
||||
@@ -150,10 +150,10 @@ class BOOST_SYMBOL_VISIBLE illegal_backtracking : public std::exception
|
||||
public:
|
||||
|
||||
illegal_backtracking() BOOST_NOEXCEPT_OR_NOTHROW {}
|
||||
~illegal_backtracking() BOOST_NOEXCEPT_OR_NOTHROW {}
|
||||
~illegal_backtracking() BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE {}
|
||||
|
||||
virtual const char*
|
||||
what() const BOOST_NOEXCEPT_OR_NOTHROW
|
||||
const char*
|
||||
what() const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE
|
||||
{ return "BOOST_SPIRIT_CLASSIC_NS::illegal_backtracking"; }
|
||||
};
|
||||
|
||||
@@ -163,7 +163,7 @@ public:
|
||||
// This policy is most effective when used together with the std_deque
|
||||
// StoragePolicy.
|
||||
// If used with the fixed_size_queue StoragePolicy, it will not detect
|
||||
// iterator derefereces that are out of the range of the queue.
|
||||
// iterator dereferences that are out of the range of the queue.
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
class buf_id_check
|
||||
{
|
||||
@@ -1296,5 +1296,3 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_END
|
||||
}} // namespace BOOST_SPIRIT_CLASSIC_NS
|
||||
|
||||
#endif // BOOST_SPIRIT_ITERATOR_MULTI_PASS_HPP
|
||||
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
#include <string>
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/concept_check.hpp>
|
||||
|
||||
#include <boost/spirit/home/classic/namespace.hpp>
|
||||
#include <boost/spirit/home/classic/iterator/position_iterator_fwd.hpp>
|
||||
@@ -294,7 +293,7 @@ private:
|
||||
|
||||
protected:
|
||||
|
||||
void newline(void)
|
||||
void newline()
|
||||
{}
|
||||
|
||||
ForwardIteratorT _end;
|
||||
@@ -397,13 +396,13 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
ForwardIteratorT get_currentline_begin(void) const
|
||||
ForwardIteratorT get_currentline_begin() const
|
||||
{ return _startline; }
|
||||
|
||||
ForwardIteratorT get_currentline_end(void) const
|
||||
ForwardIteratorT get_currentline_end() const
|
||||
{ return get_endline(); }
|
||||
|
||||
std::basic_string<value_type> get_currentline(void) const
|
||||
std::basic_string<value_type> get_currentline() const
|
||||
{
|
||||
return std::basic_string<value_type>
|
||||
(get_currentline_begin(), get_currentline_end());
|
||||
@@ -425,7 +424,7 @@ protected:
|
||||
return endline;
|
||||
}
|
||||
|
||||
void newline(void)
|
||||
void newline()
|
||||
{ _startline = this->base(); }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user