Reflection API for Modern C++ - Matus Chochlik - C++ on Sea 2022
ฝัง
- เผยแพร่เมื่อ 15 ส.ค. 2022
- C++ on Sea Website: cpponsea.uk/
C++ on Sea Twitter: / cpponsea
---
Reflection API for Modern C++ - Matus Chochlik - C++ on Sea 2022
Slides: github.com/philsquared/cppons...
Compile-time reflection is one of the major missing features in standard C++. This talk will give a short introduction to reflection, discuss considerations for reflection API design, basic operations and composable algorithms, provide multiple smaller examples and show some real life use-cases.
---
Matus Chochlik
I'm a full-stack software engineer and solutions architect with a past career in academia. Working mostly with C++ and Python, in the field of medical devices, industrial monitoring and security systems. I contributed to the early design papers for C++ reflection.
---
C++ on Sea is an annual C++ and coding conference, in Folkestone, in the UK. The 2022 conference was conducted as a two part, physical and online C++ event.
- Annual C++ on Sea, C++ conference: cpponsea.uk/
- 2022 Program: cpponsea.uk/2022/schedule/
---
Produced and Edited by Digital Medium Ltd: events.digital-medium.co.uk
Enquiries: events@digital-medium.co.uk
#programming #Cpp #CppOnSea - วิทยาศาสตร์และเทคโนโลยี
33:42 this functional style composition using placeholders is really cool. It’s so similar in nature to std::bind() which isn’t so popular compared to lambdas. Do you think std::bind should/could be updated to allow the composition style you suggest? If I write my own reflection-related function or algorithm (using your library) should I also write placeholder overloads for it to ease composition? Is it hard to write if my function accepts multiple arguments?
can't wait till C++ 26. this has been a long time coming. the next standard's release date should just be whenever reflection is ready, it's too important
Thank you for taking the time to post your comments.
Slightly updated slides: matus-chochlik.github.io/mirror/latex/cpponsea.pdf