C++ Weekly - Ep 190 - The Important Parts of C++17 in 10 Minutes

preview_player
Показать описание
☟☟ Awesome T-Shirts! Sponsors! Books! ☟☟

T-SHIRTS AVAILABLE!

WANT MORE JASON?

SUPPORT THE CHANNEL

GET INVOLVED

JASON'S BOOKS

► C++23 Best Practices

► C++ Best Practices

JASON'S PUZZLE BOOKS

► Object Lifetime Puzzlers Book 1

► Object Lifetime Puzzlers Book 2

► Object Lifetime Puzzlers Book 3

► Copy and Reference Puzzlers Book 1

► Copy and Reference Puzzlers Book 2

► Copy and Reference Puzzlers Book 3

► OpCode Puzzlers Book 1


RECOMMENDED BOOKS

AWESOME PROJECTS

O'Reilly VIDEOS

Рекомендации по теме
Комментарии
Автор

There are some more important features as well
1. Binary literals
2. if constexpr
3. Nested namespace

ankitthakar
Автор

I just now realize how many C++ 17 features I already took for granted. Structured bindings and if with initializer are big ones. I use the modern if all the time. I wrote a lot of Go before C++ 17 so I was very happy to see C++ finally adopt that feature. Stringview is the one thing I have never used so far I'll have to try it out some day.

YSoreil
Автор

Another great episode! Every time I see the notification for C++ weekly I am "Guaranateed" to learn something.

antoniocs
Автор

Just want to remind that "inline static" for static members happened in c++17 also
No more need to create nice class only to add some additions outside of it just for sake of it

NoNameAtAll
Автор

I love the features that makes meta programming more "normal." Fold expression belongs to that category.

LesleyLai
Автор

at 0:40 subtitles say "The number one thing that I want to mention is guaranteed COPULATION"... I knew C++ was the right choice for me

AxelStrem
Автор

Every language has added structural binding.... welcome to the club C++17

yackawaytube
Автор

Is there a way to, or has there been discussion around structured bindings without hiding the types? Some way to write [ int x, int y ] = my_point;

codyheiner
Автор

Structured bindings! I didn’t know that was a thing!!

coreywn
Автор

I used to work with C++ quite a lot in the 90's. For the last 15 years I have worked mostly with C and Java. I am now looking at C++ again for a big project and thinking that the people governing the language have taken a difficult language, made it more difficult and then wrapped it in impenetrable nomenclature for good measure. So, back to C I guess.

undercrackers
Автор

I'm surprised `if constexpr` didn't make the list, given its ability to, in some cases, completely remove SFINAE overhead. I really like if-init because it reduces scope, but I really hate it because no matter how you format it, its presence really interrupts the flow of reading code.

timhaines
Автор

so far, 3 people have confirmed they are using c++98

Embedonix
Автор

Nice additions but for me the clear winner is the parallel STL. In general C++ is still lacking in libraries which is a weak spot compared to Java and .NET when you are developing applications.

gast
Автор

8:40, would C++17 accept *std::pair values {1, 2}*, deducing the template args?

MrAbrazildo
Автор

For std::array is it possible to only deduce the size and not the type?

simonhrabec
Автор

Hey Jason, trying to find an entry point for C++ from being a designer for years. I like your teahing style but cant find an entry point. Even with this video im not sure many of the terms you're referring to. Do you have any videos that are even more basic as a starting point?

atetraxx
Автор

C++ 17 feature I use the most is:
auto & f = foos.emplace_back();

MrNiceOne
Автор

I just wish structured bindings had a way to tell it that one element isn't used, i.e. to silence the -Wunused* warnings

DrMcCoy
Автор

What is the scratchpad tool? Love seeing the asm at the right to verify what is happening.

RichardBaileyrichoncode
Автор

Also the flag "-fno-elide-constructors" does not work anymore, right? It is now guaranteed.

Slayeah