cpp_weekly
cpp_weekly copied to clipboard
Use of `noreturn` and `deprecated` attributes in C++
Channel
C++Weekly
Topics
As mentioned here by Jason, it would be interesting to hear about the usage of noreturn
and deprecated
attributes (and if you have time, maybe cover most, if not all, attributes available in C++ language).
I would be interested to learn whether we can use noreturn
attribute with lambdas
, and also what would be a best practice here ?
Length
Ideally, all of it can be covered in less than 10 mins.
https://compiler-explorer.com/z/KhhhTP87c
(but be sure to cover how that function can be rearranged to mitigate the question of initialization, also add in deprecated and C++23's attribute syntax for lambdas)
Duplicate of #328