Andre Poenitz <[EMAIL PROTECTED]> writes:

| This one is a bit fishy. It changes pointers to references all over the
| place but it is "unfinished" on "both ends": MathIter still works with a
| MathedArray * and mathed_parse returns MathedArray *.
| 
| I tried to do it in one big sweep but failed. This should be as nice as
| an intermediate version could get (it's stable, but leaks)...

Ok, steps in the right direction.

note...
When you have a method returning a reference , f.ex. getData()

instead of

MathedArray a = b.getData();

you can do

MathedArray const & a = b.getData()

if you don't have to modify the returned array anyway.

        Lgb

Reply via email to