in interwoos suck, especially when you could crack it.. i know basic stuff.. but when i get deeper into anything there's just no end to it.. and at the end i end up abandoning all gathered info..
Anyways.. how to get fluent in template kung fu.. ? Mixed with new cpp20 stuff.. write my own project ?
If you don't have your own project that is definitely a good idea
Go for C++23 Read a tour of C++ third edition Googling And other things!
Practice, practice, and practice. Templates require quite some effort to learn how to use.
What other programming languages do you know? Maybe I can point you at parallels that would make that easier
Ahh man I'm still not up to date with cpp14 all concepts itself 😅
Yup... How to practice ? Project seems a good way.. but then again I would be blind as to what to cover there.. Funny cpp is my core lang.. i use python lol other than it rn.. so 10 year exp in that.. But u know things like enable_if.. then other tricks , perfect forwarding, variable args, more design tricks... then pounding SFINAE into your mind and style of coding .. it's really a disjoint mindset to non metaprogramming.. And i don't get to touch the template part at job mostly.. coz everywhere I work it's mostly frozen as framework..so don't get hands on much, and hence fluency..
My general presentation of C++ is that it is 5 languages hidden under a trench coat
Yeah and all of them can use each others limbs .. in all kinds of ways..
With modern C++ (20/23) you don't need SFINAE stuff. There're now better and much simpler alternatives.
Constraints and concepts ?
concept, requires
Обсуждают сегодня