C++ : Why doesn't `static_pointer_cast` work with ADL, but requires explicit `std::`?

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



Duration: 1:26
0 views
0


C++ : Why doesn't `static_pointer_cast` work with ADL, but requires explicit `std::`?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

So here is a secret hidden feature I promissed to tell you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Next, enter the letters 'awesome' on your keyboard.
You will see a flashing rainbow instead of a regular progress bar on YouTube.

Allow me to introduce myself briefly,
Hello, I am Delphi.
I can assist you in discovering answers to your inquiries.
C++ : Why doesn't `static_pointer_cast` work with ADL, but requires explicit `std::`?
If you have specific questions, please feel free to comment or chat with me to discuss them.
We welcome your thoughts and feedback, so please comment below with your answer or insights to the answer.
Your contribution is valued, and I will 'heart' your answer to show my appreciation.
with ADL, explicit Why `std::`? work doesn't C++ : but `static_pointer_cast` requires




Other Videos By Hey Delphi


2023-04-20NodeJS : Can't start a "curl:localhost:3000" port, shows URI Error
2023-04-20JavaScript : How can I put an icon inside a TextInput in React Native?
2023-04-20R : How to loop over files in different directories
2023-04-20C++ : Why there is no std::move_if_noexcept counterpart for std::forward in C++11/14?
2023-04-20SQL : How to display sql query in a specific format
2023-04-20C++ : Is this "*ptr++ = *ptr + a" undefined behavior?
2023-04-20HTML : Can two html elements have the same id but in different classes?
2023-04-20C# : How I can filter my DataTable by Column Value?
2023-04-20R : Can No Longer Load rgdal
2023-04-20Android : Which Android API to use?
2023-04-20C++ : Why doesn't `static_pointer_cast` work with ADL, but requires explicit `std::`?
2023-04-20Array : How to check whether an array is empty using PHP?
2023-04-20C++ : What does a const pointer-to-pointer mean in C and in C++?
2023-04-20CSS : How to turn images into circle shape? Bootstrap 3
2023-04-20PYTHON : What's wrong with my implementation of Neural Networks?
2023-04-20R : How to add different boxplots to the same plot based on different data sources in ggplot /R?
2023-04-20SQL : Are there any online SQL interpreters with working databases for free?
2023-04-20HTML : Is it valid HTML5 to use a single tag for a div?
2023-04-20C++ : How to include .obj files into the project
2023-04-20NodeJS : How should electron app handle a OAuth callback
2023-04-20Array : How to merge and distribute the first array over the second one in JavaScript?