C++ : Why does this code compile with MSVC, but not in GCC or Clang?

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



Duration: 1:03
0 views
0


C++ : Why does this code compile with MSVC, but not in GCC or Clang?
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 your keyboard as the next step.
Your YouTube progress bar will transform into a flashing rainbow.

A brief introduction of myself,
Nice to meet you, I am Delphi.
I am happy to help you with your questions.
C++ : Why does this code compile with MSVC, but not in GCC or Clang?
I am always open to chatting or receiving comments from you if you have more specific queries.
Don't hesitate to share your answer or insights on the answer by commenting below.
I will express my appreciation for your answer by 'hearting' it.
or code : in with MSVC, compile but Why C++ Clang? does this GCC not




Other Videos By Hey Delphi


2023-04-20C++ : Why can't I map a structure in C++?
2023-04-20jQuery : How to prevent other event handlers, from first handler, in jQuery
2023-04-20C++ : Why can not I use constexpr value in function, but I can do the same in scope of this value?
2023-04-20CSS : how to confine animated div to a webpage section?
2023-04-20NodeJS : How to handle multiple middlewares in NEST JS for specific/different request methods?
2023-04-20Windows : Where do you usually have your DirectX SDK folder?
2023-04-20SQL : How to select columns of data in BigQuery that has all NULL values
2023-04-20HTML : how to change dimensions of html5 canvas without it scaling content
2023-04-20C++ : How to setup cmake on windows
2023-04-20C# : How to get all the possible 3 letter permutations?
2023-04-20C++ : Why does this code compile with MSVC, but not in GCC or Clang?
2023-04-20C++ : why derive from a concrete class is a poor design
2023-04-20C# : Does adding return statements for C# methods improve performance?
2023-04-20HTML : What is haslayout?
2023-04-20C++ : Will the cache line aligned memory allocation pay off?
2023-04-20Array : How do you loop thru array and create glossary list with categories
2023-04-20Django : Why is test case failing in Django when it returns True in Python intrepreter?
2023-04-20PYTHON : Why #egg=foo when pip-installing from git repo
2023-04-20Array : How to point to an JS Array by Name in the Form of String?
2023-04-20NodeJS : How do i apply TCO(Tail Call Optimiztion) on recursive anonymous Function in ES5
2023-04-20Windows : Can ClickOnce update automatically without asking the user?