From: Hartmut K. <har...@gm...> - 2010-01-04 17:25:41
|
> >> Following the tutorial, I wrote a really basic templated grammar and > >> applied different iterators, a string iterator and a fstream > iterator. > >> > >> > > I suspect your problem is that spirit requires a forward iterator, > > which fstream iterators are not. > > Pretty obvious after having *carefully* read the documentation :) > Thanks for your answer. FWIW, Spirit 2.2 will have concept checks enforcing to use proper iterators. Regards Hartmut --------------- Meet me at BoostCon www.boostcon.com |