👾 Geek Engineers
537 subscribers
51 photos
42 files
326 links
👾 Extremist software engineering guidance for Geeks.

Website:
https://geekengineers.netlify.app

Github:
https://github.com/geekengineers
https://github.com/tahadostifam

Community:
@geek_engineers_community
Download Telegram
C++ بد بود و با استاندارد 26 بدتر هم شده

https://isocpp.org/files/papers/P2996R4.html#emulating-typeful-reflection
template <class... Tags>
consteval auto make_named_tuple(std::meta::info type, Tags... tags) {
std::vector<std::meta::info> nsdms;
auto f = [&]<class Tag>(Tag tag){
nsdms.push_back(data_member_spec(
dealias(^typename Tag::type),
{.name=Tag::name()}));

};
(f(tags), ...);
return define_class(type, nsdms);
}

کلا طرز فکر ++c گرایش خاصی به ساختن پیچیدگی داره |: صد رحمت به Rust و Zig. حداقل ترید آف ش منطقی تره
👍5😱1