c++boostboost-spiritmultipass

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


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


Solution

  • 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_;