C++ : Is it bad practice to overload a function to take both a pointer or a reference?

Channel:
Subscribers:
76,400
Published on ● Video Link: https://www.youtube.com/watch?v=vQ0tzQMUbtg



Duration: 1:29
0 views
0


C++ : Is it bad practice to overload a function to take both a pointer or a reference?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I have a secret feature that I want to reveal to you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on the keyboard.
Your YouTube progress bar will transform into a flashing rainbow.

A short overview of who I am,
Hi, my name is Delphi, nice to meet you.
I am here to assist you in getting the answers you need.
C++ : Is it bad practice to overload a function to take both a pointer or a reference?
I am available to answer your more detailed queries via comments or chat.
If you have additional information or an answer to contribute, please feel free to comment below.
Your answer will be recognized and appreciated with a 'heart' from me.
to overload practice it take : function a a a bad both Is C++ reference? to pointer or




Other Videos By Hey Delphi


2023-04-20R : What are 'user' and 'system' times measuring in R system.time(exp) output?
2023-04-20JavaScript : How can I determine the current line number in JavaScript?
2023-04-20C++ : How can I print (☞゚ヮ゚)☞ with Ncurses?
2023-04-20C++ : Is floating-point == ever OK?
2023-04-20Array : How to pass an array of gmp_z to a function without a warning?
2023-04-20C# : How to add New Row in datagridview which is bound to the datasource
2023-04-20C# : How can I subtract 6 hour from the current time?
2023-04-20Array : Is it ok to return a locally initialised array, if no how can I do it?
2023-04-20Android : how to start an activity in another module explicitly
2023-04-20SQL : Why is ' 2' '10'?
2023-04-20C++ : Is it bad practice to overload a function to take both a pointer or a reference?
2023-04-20Windows : Are there any benefits to keep your files (scripts) on WSL filesystem
2023-04-20CSS : Is it possible to set horizontal gradient to text via CSS? (left letter one colour, right - an
2023-04-20MySQL : how do I use mysql real escape string?
2023-04-20C# : How to get the the dimensions of an image file?
2023-04-20C++ : What would be gtkmm's version of g_signal_emit or g_signal_emit_by_name?
2023-04-20C++ : How to receive power off events in a Symbian console application?
2023-04-20C++ : Why does including utility break structured bindings in GCC?
2023-04-20R : Is there a stringr equivalent for grep with value = TRUE?
2023-04-20Android : How to reset to my last commit in Android Studio
2023-04-20SQL : How can I execute only selective statements from a SQL file?