Small documentation bug


#1

The documentation mentions: Expression::EvaluationContext this class does not exist, from what i see it was replaced with Expression::Scope


#2

Where did you see that? I can’t find it…


#3

http://www.rawmaterialsoftware.com/juce/api/classExpression_1_1EvaluationContext.html


#4

ah, it’s not in the code any more - the online docs just need updating.


#5

yeah i know but i got confused.

I can’t get the Expression class to work, it never touches the Expression::Scope i pass to the evaluate() method, and throws errors about unresolved symbols (witch is correct since it never tries to resolve them).

Could you maybe write a few lines of pseudo code hot to get the ball rolling on this ?


#6

That just sounds like you’ve not overloaded the callbacks correctly… None of the virtuals in Scope are pure, so if you got the name or parameters slightly wrong, it’d all compile but not work.


#7

as always you are correct, missed a “const” in the method declaration.

very useful class and easy to use, thanks for that.