Using Concepts: C++ Design in a Concept World (part 1 of 2) - Jeff Garland - [CppNow 2021]

  Рет қаралды 7,058

CppNow

CppNow

Күн бұрын

Пікірлер: 11
@bunpasi
@bunpasi Жыл бұрын
Anything to let me get rid of SFINAE 😝.
@a.b.4317
@a.b.4317 Жыл бұрын
skip the frst 25 minutes... intro waste
@ashwithchandra2622
@ashwithchandra2622 4 ай бұрын
😂
@USGrant21st
@USGrant21st Жыл бұрын
1:16:45 people correctly pointed to the bug in the slide. It should have been *requires std::movable;* as it is a nested-requirement (7.5.7.5), *requires* is not optional, it's required (no pun intended) by the standard. The fact the most compilers don't notice that is not an excuse.
@USGrant21st
@USGrant21st Жыл бұрын
51:06 none of the current C++20 compilers accepts constrained std::unique_ptr as shown in example.
@Beatsbasteln
@Beatsbasteln Жыл бұрын
this talk is not very practical. i'm 22min in now and there was no example code to get an idea from yet
@SamWhitlock
@SamWhitlock 3 жыл бұрын
52:51 the other advantage is that constraint violation will fail much sooner than unconstrained template parameters. Prior to concepts, the reams of template errors I would often get would be because I used one type (e.g. forward_list) in a templated function that used std::sort (or some algo that required random access iteration), only to have it blow up with an error way down in the algorithm's code because some method wasn't available on the iterator type.
@thx947
@thx947 2 жыл бұрын
How can I get the slide? :D
@BoostCon
@BoostCon 2 жыл бұрын
The slides should be found on cppnow.org/history/2021/talks/
@thx947
@thx947 2 жыл бұрын
Thank you for the answer. The link seems to be broken. I can’t access. cppnow.digital-medium.co.uk/wp-content/uploads/2021/05/2021cppnow_learning_concepts.pdf
@poker53281
@poker53281 2 жыл бұрын
@@BoostCon They are note there. Seems no talk has slides yet.
АЗАРТНИК 4 |СЕЗОН 3 Серия
30:50
Inter Production
Рет қаралды 1,1 МЛН
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 20 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 14 МЛН
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 54 МЛН
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 107 М.
Why Inkscape writes everything twice
10:24
Martin Owens
Рет қаралды 24 М.
Neural Net implementation in C++
1:05:24
Abhishek Pandey
Рет қаралды 63 М.
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
АЗАРТНИК 4 |СЕЗОН 3 Серия
30:50
Inter Production
Рет қаралды 1,1 МЛН