Third impact

今日調べたことのメモ

目次

日記カテゴリ

記事カテゴリ

書庫

Blog 利用状況

Third impact

外部リンク

boost::spirit::grammarのテンプレ

#include <boost/spirit/core.hpp>
#include <boost/spirit/attribute.hpp>
#include <boost/spirit/utility.hpp>

struct
my_parser : boost::spirit::grammar<my_parser>
{
    template <typename ScannerT>
    struct definition
    {
        definition(my_parser const& self)
        {
            using namespace boost::spirit;
            using namespace phoenix;
        }
        boost::spirit::rule expr;

        boost::spirit::rule const&
        start() const { return expr; }
    };
};

それにしてもビルドが遅い。

投稿日時 : 2007年8月17日 22:44

Feedback

# HMDPOgLHpfHexDoT 2011/12/16 1:10 http://www.wildharvestedmaca.com/

Edidn`t think about that. I'll tell my mother, she won`t believe it..!

# zvymVzbTcpDQYbDwxV 2011/12/22 19:32 http://www.discreetpharmacist.com/

WQGHzt It's pleasant sitting at work to distract from it?to relax and read the information written here:D

タイトル
名前
Url
コメント