Back to Basics: Templates in C++ - Nicolai Josuttis - CppCon 2022

Back to Basics: Templates in C++ - Nicolai Josuttis - CppCon 2022

CppCon

1 год назад

56,384 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@alib5503
@alib5503 - 31.12.2023 23:05

It feels, to me, i have to know all of c++. Idk why. Whenever he waives his hands on some somewhat deprecated or irrelavant topics or on some dark corners, i t feels unsatisfactory...

Ответить
@ssmondal007
@ssmondal007 - 20.11.2023 21:20

Super Sir, impressed :)

Ответить
@FloBee10
@FloBee10 - 19.11.2023 02:41

thank you. even better the second time around! : )

Ответить
@mahdies56
@mahdies56 - 14.10.2023 17:18

Great talk

Ответить
@MyLucjusz
@MyLucjusz - 10.07.2023 22:32

That's a pure pleasure to listen to the prelection like this. Thank you!

Ответить
@yseeme
@yseeme - 25.06.2023 15:18

Keep C++ away from stupid politics

Ответить
@viacheslav1392
@viacheslav1392 - 21.04.2023 18:26

Great talk man!

Ответить
@dark808bb8
@dark808bb8 - 06.04.2023 06:29

We need an "if compiles{" expression that takes the first branch if the code in that branch compiles 😅

Ответить
@ZackDia-Ptr
@ZackDia-Ptr - 12.03.2023 00:07

Good stuff...

Ответить
@deadbird99
@deadbird99 - 16.02.2023 02:16

Hands down the best templates course I've ever had. Thanks!!

Ответить
@nithu9227
@nithu9227 - 08.02.2023 23:42

Very useful

Ответить
@BiddutMitra
@BiddutMitra - 29.01.2023 12:20

C with better structure, which is c++.

Ответить
@djupstaten2328
@djupstaten2328 - 21.01.2023 16:29

This is why a TypeEval function is screaming to be created. I am 100% certain the std::people can create a better one than I can. Typeid() doesn't actually consider a tuple of string/int/string the same type as a tuple of variant/variant/map as the same types so there is no secure way to funnel them into whatever place or process they need to be. A bool function is totally fine as long as it is general (i.e. one container type instance should match with another, and with its type-name, regardless of their particular flavor of chaos inside). Knowing everything at compile time is neither realistic nor creatively workable. "Strongly typed" needs to not just be a begrudging neurosis or a religious mantra but also lead to supplying the proper tools for the coder to secure this strength on his or her end.

Ответить
@__hannibaalbarca__
@__hannibaalbarca__ - 16.01.2023 21:16

CppCon please keep politic out.

Ответить
@user-0xDEEDBEEF
@user-0xDEEDBEEF - 09.12.2022 10:52

Do you job. Do not go politic.

Ответить
@OptimusVlad
@OptimusVlad - 20.11.2022 13:54

Wow, this is trippy. Didn't know this was a thing:

if constexpr (requires {coll.push_back(val);})

Ответить
@xudongsun
@xudongsun - 19.11.2022 20:17

love his tshirt. where can I get one?

Ответить
@vasylvoina6663
@vasylvoina6663 - 10.11.2022 13:47

I call function templates for 145 000 different types, so I end up with 145 000 functions generated. Wow, really nice feature.

Ответить
@wigglyk2796
@wigglyk2796 - 07.11.2022 04:54

Wow the master himself. His book on templates is excellent. Thanks for this video.

Ответить
@NickEnchev
@NickEnchev - 04.11.2022 17:41

Excellent talk, thank you.

Ответить
@moderncpp
@moderncpp - 02.11.2022 16:14

Great talk. I believe that understanding templates reveals most of the C++ programming language.

Ответить
@yowadup1000
@yowadup1000 - 31.10.2022 23:14

Looks pretty exciting!

Ответить
@Tony-tu8uz
@Tony-tu8uz - 29.10.2022 11:13

Very good! Thank you for the talk!

Ответить
@prafulsrivastava7684
@prafulsrivastava7684 - 28.10.2022 21:40

This is exactly what I was looking for! Great talk!

Ответить
@xFabi99
@xFabi99 - 28.10.2022 19:07

Templates are pretty awesome now, as is this talk ;)

Ответить
@brandonz6121
@brandonz6121 - 28.10.2022 03:49

A truly insightful talk!

Ответить
@the_real_foamidable
@the_real_foamidable - 27.10.2022 14:25

Very cool talk. Always good to recapitulate the basics - there are to many things we use without understanding the underlying tech and history.
BTW: Where can I get this awesome T-Shirt?

Ответить
@paulselormey7862
@paulselormey7862 - 27.10.2022 08:52

Josuttis, thank you.

Ответить
@richardvonlehe4581
@richardvonlehe4581 - 27.10.2022 04:17

Well done! Engaging throughout.

Ответить
@superscatboy
@superscatboy - 27.10.2022 04:13

Nico is a great speaker, I've been looking forward to this one!

Ответить
@sanjaygatne1424
@sanjaygatne1424 - 26.10.2022 20:38

nice talk.
i had one query on slide no.31, why recursive call to "if" statement when you know number of var args. why not "range for".

Ответить