user541686
user541686

Reputation: 210755

How to obtain base iterator from boost::spirit::multi_pass?

How can I access the underlying iterator that a multi_pass iterator is using?

Upvotes: 3

Views: 112

Answers (1)

user1252091
user1252091

Reputation:

The underlying iterator seems to be stored in the input_ member of the protected iterator member member. You can get access to it via the method shared.

my_iterator.shared()->input_;

Upvotes: 2

Related Questions