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 М.
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Мама у нас строгая
00:20
VAVAN
Рет қаралды 12 МЛН
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,2 МЛН
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 829 М.
Stop Using FirstOrDefault in .NET! | Code Cop #021
12:54
Nick Chapsas
Рет қаралды 95 М.
Function Inlining in C++ | Modern Cpp Series Ep. 109
13:00
Mike Shah
Рет қаралды 4,1 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 289 М.
Multiple TYPES of Data in a SINGLE VARIABLE in C++?
10:03
The Cherno
Рет қаралды 70 М.
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33