CppCon 2014: Stephan Lavavej 'STL Features And Implementation Techniques'

preview_player
Показать описание

--
This session will cover selected STL features from C++11/14, both explaining how to use them and delving into implementation techniques that could be useful outside the STL.

I will avoid covering popular features you're already using (e.g. make_shared, make_unique) and obscure features of limited use (e.g. forward_list). The focus will be on useful but underappreciated features like dual-range algorithms, minimal allocators, and heterogeneous associative lookup.
--
Stephan T. Lavavej is a Senior Developer at Microsoft. Since 2007, he's worked with Dinkumware to maintain Visual C++'s implementation of the C++ Standard Library. He also designed a couple of C++14 features: make_unique and the transparent operator functors. He likes his initials (which people can actually spell) and cats (although he doesn't own any).
--

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

I like to sum this up as. The main advantage of C++ is it has so many features, the main disadvantage of C++ is it has so many features.

ericcurtin
Автор

48:00 why is auto in range-for loop bad 'even for int'?

janasandeep
Автор

You don't understand: ANY language able to cope with real life AND required to respect legacy code WILL necessarily develop into an extremely complex maze. So replace vs. extend is a very non-trivial decision.

JanPBtest
Автор

wow ! is that the infamous IBM ideapad ?

victornoagbodji
Автор

I love the videos rather than real time presentations so I can pause and stare 15 min to each template.
Either I'm too stupid or template meta programming seems forced, undescriptive, with lots of tricks to make it work.
If Types would manipulate Objects as Templates manipulate Types we would be in the Stone Age. There's gotta be an easier way to play with Types of Types. I don't think Concepts are the solution.

CaballusKnight
Автор

But template metaprogramming isn't a feature. It's an accident. Just like JavaScript wasn't meant to power the entire internet, templates weren't designed to do what we use them for now. So watching an extremely competent programmer expound on how you can abuse this feature seems a little ... misguided.

origamibulldoser
Автор

Agreed. C++ is too complex, I don't understand why they are complicating it even more. A language is just a tool and you need to spend time learning libraries rather than '24321413240132804093 things that cause undefined behavior in C++'. C++ people consider Java shitty, but it's so much easier regardless of all that BS.

paulfunigga
Автор

Yeah, I'm little tired of that same old song. BECAUSE C, WE HAVE TO. End of any programming related discussion.

origamibulldoser