"Polymorphic" in OSL manual


Blair Zajac <bl...@...>
 

Hey guys,

Reading through the OSL manual, on page 20 there's this paragraph:

"""Functions may be polymorphic. That is, multiple functions may be defined to have the same name, as long as they have differently-typed parameters, so that when the function is called the list of arguments can disambiguate which version of the function is desired."""

In C++ terminology, do you mean overloaded? Polymorphic to me means that the function takes a type parameter, or is a templated function.

Regards,
Blair

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