Feature Request #175
In-place calculate method
| Status: | New | Start date: | 2009-06-17 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| Branch: |
Description
We could overload ->calculate() such that if only one value were passed as an argument that a temporary value would be allocated on the stack and then the appropriate function called.
Something like this:
TTErr calculate(TTFloat64& y)
{
TTFloat64 x = value;
return calculate(x, y);
}