Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 220
Warning – Overloading functions
ОглавлениеIf you want to overload an existing function such as union()
and exp()
, then you should of course not define the function first – as in the first line in the aforementioned code. Doing so will make its original definition unavailable.