CPP_GEEK Telegram 235
В чем отличие overload и override?

Ответ:
overload - это перегрузка, два одинаковых имени функций с разными принимаемыми аргументами, override - это переопределение (с помощью таблицы виртуальных функций), изменение поведения функции в выведенном классе ( с помощью механизма виртуальных функций).

👉 @cpp_geek
👍8



tgoop.com/cpp_geek/235
Create:
Last Update:

В чем отличие overload и override?

Ответ:
overload - это перегрузка, два одинаковых имени функций с разными принимаемыми аргументами, override - это переопределение (с помощью таблицы виртуальных функций), изменение поведения функции в выведенном классе ( с помощью механизма виртуальных функций).

👉 @cpp_geek

BY C++ geek


Share with your friend now:
tgoop.com/cpp_geek/235

View MORE
Open in Telegram


Telegram News

Date: |

Polls The channel also called on people to turn out for illegal assemblies and listed the things that participants should bring along with them, showing prior planning was in the works for riots. The messages also incited people to hurl toxic gas bombs at police and MTR stations, he added. A new window will come up. Enter your channel name and bio. (See the character limits above.) Click “Create.” With the administration mulling over limiting access to doxxing groups, a prominent Telegram doxxing group apparently went on a "revenge spree." 3How to create a Telegram channel?
from us


Telegram C++ geek
FROM American