$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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