|
Boost Users : |
Subject: [Boost-users] Subclassing "position_iterator"
From: Alexander Feldman (alex_at_[hidden])
Date: 2011-09-04 04:44:30
Hi,
I have the following question. I want to subclass/implement a new
position_iterator that recognizes lines such as:
#line 11 "electrical.lcl"
and updates accordingly its location.
My question is how to do that in the most elegant manner. Shall I
copy/paste "position_iterator.hpp" and hack the increment() method?
Would you, guys, use a Qi parser to recognize these lines? Maybe there
is a better way...
Thanks,
-- Alex
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net