C++ : Why can you initialize a static const variable inline but not a plain static (C++)

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



Duration: 1:01
0 views
0


C++ : Why can you initialize a static const variable inline but not a plain static (C++)
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I have a hidden feature that I want to share with you.
This is a YouTube's feature which works on Desktop.
First, Make sure the video is currently in playing mode.
Next, enter the letters 'awesome' on your keyboard.
It will change your youtube progress bar into a flashing rainbow.

A short overview of who I am,
Greetings, my name is Delphi.
I am here to help you get the answers you are seeking.
C++ : Why can you initialize a static const variable inline but not a plain static (C++)
Don't hesitate to ask me more detailed questions by commenting or starting a chat.
If you have knowledge to contribute or an answer to provide, we encourage you to comment below.
Your answer will be appreciated and acknowledged with a 'heart' from me.
static (C++) but a Why static a const not can variable you C++ inline plain initialize :




Other Videos By Hey Delphi


2023-04-13C++ : Can non-special C++ member functions be deleted (or defaulted)?
2023-04-13Django : what could cause html and script to behave different across iterations of a for loop?
2023-04-13C# : Will a properly implemented recursive lazy iterator function never stack overflow?
2023-04-13C++ : Why doesn't C++ need forward declarations for class members?
2023-04-13Array : How does the ternary operator compares characters and numbers in JavaScript?
2023-04-13SQL : How to do Trading Technical analysis calculations in sql server?
2023-04-13R : How can I get an R environment via Sys.getenv() with GitHub Actions using secrets?
2023-04-13Array : Does a boolean array take more space than a number of the same size?
2023-04-13SQL : How to determine SQL Server stored procedure parmeters at run time in .NET?
2023-04-13C++ : How to check if a string is in a list of strings?
2023-04-13C++ : Why can you initialize a static const variable inline but not a plain static (C++)
2023-04-13Windows : What is the Visual Studio shell (standalone shell) good for?
2023-04-13C# : How do you organize C# code in to files?
2023-04-13HTML : How to format the number string in HTML with thymeleaf
2023-04-13SQL : How to check instant buffer cache size in oracle database with ASMM?
2023-04-13NodeJS : How to find out the remote Address in node.js if it is HTTPS request?
2023-04-13C++ : Why does ptr_fun(tolower) doesn't compile in mingw?
2023-04-13C++ : When will C++ call the constructor on an object that is a class member?
2023-04-13NodeJS : How to find average in mongoose aggregation
2023-04-13Array : How to perform a sum of an int[] array
2023-04-13R : How to apply a function to a subset of data.table using by and exposing all columns to the funct