|
Boost Users : |
Subject: [Boost-users] Boost.Spirit Karma: how to store generator?
From: Matwey V. Kornilov (matwey.kornilov_at_[hidden])
Date: 2016-02-28 14:05:44
Hello,
After reading Karma tutorial, I still don't understand whether there a
way to store generator except
auto my_generator = ...
I would like to generate text representation for many similar objects
and I think that it is worth to use single generate object and pass it
to generate_delimited() by const reference.
Are there such things like qi::rule<> and qi::grammar for Karma?
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