Re: "Polymorphic" in OSL manual


Larry Gritz <l...@...>
 

RSL and OSL both are able to overload functions by return type.

So, do the terminology purists out there think that this makes it "polymorphic" or merely "overloaded"?

-- lg


On Feb 1, 2010, at 1:43 PM, Iliyan wrote:

I think one of the reasons for this extensive explanation was meant to
make the point that functions cannot be overloaded only by return
type, in contrast to RSL :) This, along with many other "restrictions"
of OSL, makes sense, I'd argue.

On Feb 1, 7:54 pm, Larry Gritz <l...@...> wrote:
I believe you are correct. Polymorphism should refer to types, what I was talking about is really "overloading."

-- lg
--
Larry Gritz
l...@...

Join osl-dev@lists.aswf.io to automatically receive all group messages.