C++ : Why does a C++ friend class need a forward declaration only in other namespaces?

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



Duration: 1:09
0 views
0


C++ : Why does a C++ friend class need a forward declaration only in other namespaces?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

Here's a secret feature that I promised to disclose 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 your keyboard as the next step.
It will change your youtube progress bar into a flashing rainbow.

A quick introduction about me,
Hello everyone, I'm Delphi.
Let me aid you in resolving any queries you may have.
C++ : Why does a C++ friend class need a forward declaration only in other namespaces?
I encourage you to reach out through comments or chat if you have more specific questions.
We welcome your thoughts and feedback, so please comment below with your answer or insights to the answer.
A 'heart' from me will be given as a sign of appreciation for your answer.
need a in Why C++ C++ namespaces? only friend forward declaration does : class a other




Other Videos By Hey Delphi


2023-04-16PYTHON : How to use `subprocess` command with pipes
2023-04-16jQuery : How to find the index of a row in a table using jquery
2023-04-16HTML : What is the purpose of the `name` attribute in a checkbox input element?
2023-04-16R : How to GeoCode a simple address using Data Science Toolbox
2023-04-16HTML : How to force an external link to open on the same tab in a Tumblr theme?
2023-04-16C++ : What is the best strategy for sharing variables between source files in c/c++?
2023-04-16NodeJS : Why can I not use a variable as parameter in the require() function of node.js (browserify)
2023-04-16MySQL : How To Get Blob Data from MySQL in C++
2023-04-16SQL : Is there a more intelligent sql-preprocessor for Oracle than Pro*C/C++?
2023-04-16Django : How to return an rest_framework.response object from a django custom middleware class?
2023-04-16C++ : Why does a C++ friend class need a forward declaration only in other namespaces?
2023-04-16C++ : Why a C-style typecasting is mandatory while initializing a POD data in initializer list?
2023-04-16Windows : Is there a universal language?
2023-04-16HTML : How to print html code so that i wrote it only once?
2023-04-16Array : How should I go about using jQuery extend when my config file has a normal array in it?
2023-04-16Django : How convert epoch time integerfield to datetime field in django admin
2023-04-16Array : Where is PowerShell's special array head/tail assignment documented?
2023-04-16MySQL : Can I re-use an expression in a MySQL query as a variable for another field?
2023-04-16MySQL : Doctrine2 / MySQL - Create an auto increment field on multiple columns
2023-04-16NodeJS : How to use Gun as an express route?
2023-04-16HTML : How can I put an input in the alert() box?