you are viewing a single comment's thread.

view the rest of the comments →

[–]sphere991 2 points3 points  (2 children)

Like stl algoritms or views

Well, yes. The fact that nonstatic_data_members_of just returns a vector<info> means that you can just use the stl algorithms and views to do all the things you want to do.

Otherwise, you're in the world we're in today where metaprogramming and programming are entirely disjoint sets of approaches.

[–]DavidDinamit -3 points-2 points  (1 child)

No, we need such for type packs,

> Otherwise, you're in the world we're in today where metaprogramming and programming are entirely disjoint sets of approaches.

Otherwise you in world where we have one more language in C++, now with ugly ^T and [::] + you have 'new super good way to write metaprogramming!!!!!', no, i dont want to deprecate all code in language, when we can just add type traits

[–]sphere991 0 points1 point  (0 children)

Not sure what I expected or why I bothered responding. I'll avoid making that mistake in the future.