Boost logo

Boost Users :

Subject: [Boost-users] translate C-code into objects
From: Peter Foelsche (foelsche_at_[hidden])
Date: 2011-07-29 22:57:59


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?

Peter


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