Original Post
What I would like to do is to extend C++ to do something like this:
class A{
public:
float x;
float y;
int z;
};
A a[1000];
A2 = Select(A).Where(x>3 && y<5 || z==10);
Which creates a new array from the old array where each member satisfies a[n].x>3 && a[n].y<5. So we introduce new commands such as "Where" which treat an array of classes like a database. Do you think it is possible to make such a command as this in C++? Could anyone suggest an example?