<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>"C++20 Concepts" by Roi Barkan</title>
        <link>https://tube.mucs.club/videos/watch/5d1dcaf6-d4f1-434d-a2e3-49a552764185</link>
        <description>slides: https://docs.google.com/presentation/d/1LptNQoVnSuIGr-LEovnIthVRkAjFTmUFPoC0lSymqm4/preview Abstract: C++20 concepts give us a brand new way to specify how our generic libraries and algorithms should be used and allow library users to better understand what is expected of them. However, concepts didn't rise from chaos, and before their adoption C++ library authors had other mechanisms to meet that goal. In this talk I'll briefly discuss concepts, and focus on their pros and cons compared to more mature mechanisms. Special attention will be given to the 'semantic' vs. 'syntactic' nature of concepts, and I'll try to give motivating examples of semantic-only concepts. I'll then explore best practices, and show potential pitfalls in various approaches to the challenge of defining interactions between generic code authors and users. Talk outline: Problem statement, examples of 'concepts in the wild' (iterator traits, trivially-copyable, ordering), Brief overview of C++20 concepts - syntax alternatives, common examples, Pre-concepts typical approaches - mainly type-traits, iterator_traits, void_t, enable_if, Tricky cases: semantics vs. syntax; common/subtle 'bugs'; explicit call-site override, 'Philosophical' discussion on core concepts - cheaply-copyable, trivially-copyable</description>
        <lastBuildDate>Tue, 01 Sep 2026 10:03:35 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://tube.mucs.club</generator>
        <image>
            <title>"C++20 Concepts" by Roi Barkan</title>
            <url>https://tube.mucs.club/client/assets/images/icons/icon-1500x1500.png</url>
            <link>https://tube.mucs.club/videos/watch/5d1dcaf6-d4f1-434d-a2e3-49a552764185</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://tube.mucs.club/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://tube.mucs.club/feeds/video-comments.xml?videoId=5d1dcaf6-d4f1-434d-a2e3-49a552764185" rel="self" type="application/rss+xml"/>
    </channel>
</rss>