properties() method of ObjectHandler::Object class.
Posted by
Slava Mazur on
URL: http://quantlib.414.s1.nabble.com/properties-method-of-ObjectHandler-Object-class-tp11788.html
Greetings,
I noticed that method properties() in ObjectHandler::Object class
declared as non-const:
const boost::shared_ptr<ValueObject>& properties();
Is it intended? If yes, could someone tell me the reason?
Wouldn't it better to have the following?
const boost::shared_ptr<ValueObject>& properties() const;
Thanks,
Slava
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev