
18 Jun
2007
18 Jun
'07
1:48 p.m.
From: Paul A Bristow
PS There IS a downside to chaining though - it means that one can't
use
the name for a getter function - you can't get myplot.axis_color() to return the color. Yes you can. You just have two overloads:
color axis_color() const; // Getter. plot& axis_color(color newColor); // Chainable setter. -- Martin Bonner Project Leader PI SHURLOK LTD Telephone: +44 1223 441434 / 203894 (direct) Fax: +44 1223 203999 Email: martin.bonner@pi-shurlok.com www.pi-shurlok.com