The ‘using’ keyword (using namespace and alias declarations) | Modern Cpp Series Ep. 105

  Рет қаралды 4,785

Mike Shah

Mike Shah

Күн бұрын

Пікірлер: 17
@here_is_pacific
@here_is_pacific Жыл бұрын
nice explanation
@MikeShah
@MikeShah Жыл бұрын
Cheers!
@alexandrohdez3982
@alexandrohdez3982 Жыл бұрын
thank you Mr. Shah 👏👏👏
@MikeShah
@MikeShah Жыл бұрын
You are most welcome!
@diodin8587
@diodin8587 8 ай бұрын
10:14 Shouldn't it be just template without size_t? size_t is already specifized.
@MikeShah
@MikeShah 8 ай бұрын
I think that could also work -- give it a try ;)
@skittles6949
@skittles6949 6 ай бұрын
Thank you!
@MikeShah
@MikeShah 6 ай бұрын
Cheers!
@monty6393
@monty6393 Жыл бұрын
Thanks mike.. I never thought how exactly" using "keyword works under the hood..this would be very good interview question... The interviewer might ask the uses of using keyword in using namespace std; ..
@MikeShah
@MikeShah Жыл бұрын
Cheers! Agreed, I think knowing the multiple uses of 'using' is possibly something an interviewer could ask on a phone screen to test your C++ depth. For example, I've had interviewers ask on a pre-screen about multiple ways to 'cast' in C++.
@mahmoudramadan9193
@mahmoudramadan9193 Жыл бұрын
Thanks a lot ♥
@MikeShah
@MikeShah Жыл бұрын
You are most welcome!
@menachemlevi
@menachemlevi 10 ай бұрын
just subsribed amazing job ,keep the hard work going
@MikeShah
@MikeShah 10 ай бұрын
Cheers!
@AntonioPIC2012
@AntonioPIC2012 Жыл бұрын
Hi Mike, thank you for the explanation! I probably have seen the templated using statements before while skimming through cppreference, but I did not make the connection until now :)
@MikeShah
@MikeShah Жыл бұрын
Cheers, glad to hear it 😀
@bsdooby
@bsdooby Жыл бұрын
TIL that `using` to import symbols can be scoped to functions. Just like in D (or almost). That's 😊
C++ Book Recommendations | Modern Cpp Series Ep. 106
6:04
Mike Shah
Рет қаралды 16 М.
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 37 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 248 МЛН
Don't underestimate anyone
00:47
奇軒Tricking
Рет қаралды 25 МЛН
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 289 М.
Senior Devs Use These React Hooks
7:05
Youssef Benlemlih
Рет қаралды 5 М.
Global Variables in C++... not as easy as it seems
18:25
The Cherno
Рет қаралды 66 М.
The Inline Keyword in C.
16:18
Jacob Sorber
Рет қаралды 58 М.
Intro to Binary and Bitwise Operators in C++
21:40
The Cherno
Рет қаралды 138 М.
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 37 МЛН