$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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