diff --git a/classic/doc/multi_pass.html b/classic/doc/multi_pass.html index f5baa7900..d228caa24 100644 --- a/classic/doc/multi_pass.html +++ b/classic/doc/multi_pass.html @@ -248,7 +248,7 @@ not the case. If your grammar is deterministic, you can make use of flush_
The CheckingPolicy must have the following interface:
- class my_check
{
protected:
my_check();
my_check(my_check const& x);
void destroy();
void swap(my_check& x);
// check should make sure that this iterator is valid
void check() const;
void clear_queue();
};
+ class my_check
{
protected:
my_check();
my_check(my_check const& x);
void destroy();
void swap(my_check& x);
// check should make sure that this iterator is valid
void check_if_valid() const;
void clear_queue();
};
A StoragePolicy must have the following interface:
diff --git a/include/boost/spirit/home/classic/iterator/multi_pass.hpp b/include/boost/spirit/home/classic/iterator/multi_pass.hpp index ec8e01c97..fd9482ef3 100644 --- a/include/boost/spirit/home/classic/iterator/multi_pass.hpp +++ b/include/boost/spirit/home/classic/iterator/multi_pass.hpp @@ -194,7 +194,7 @@ class buf_id_check } // called to verify that everything is okay. - void check() const + void check_if_valid() const { if (buf_id != *shared_buf_id) { @@ -226,7 +226,7 @@ class no_check no_check(no_check const&) {} void destroy() {} void swap(no_check&) {} - void check() const {} + void check_if_valid() const {} void clear_queue() {} }; @@ -1000,7 +1000,7 @@ reference multi_pass