Boost logo

Boost Users :

Subject: Re: [Boost-users] translate C-code into objects
From: TONGARI (tongari95_at_[hidden])
Date: 2011-07-30 01:59:35


2011/7/30 Peter Foelsche <foelsche_at_[hidden]>

> Dear All,
>
> I would like to translate some C-Code into objects.
> I did this already for functions and expressions: Writing template
> functions and passing my expression object as an argument.
> Now I want to do this for C-Code, which uses if-statements and variables.
> To do this, I would implement some template function for an if-statement.
> And some function for an assignment to a variable.
> Probably using enumerations to indicate the variable.
>
> Is this the right approach?
>

Why not Phoenix?

http://www.boost.org/doc/libs/1_47_0/libs/phoenix/doc/html/index.html



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