tocc icon indicating copy to clipboard operation
tocc copied to clipboard

Make use of ConnectiveExpr easier

Open aidin36 opened this issue 11 years ago • 2 comments

Right now, there's only two `create' method for ConnectiveExpr classes: one that accepts a ConnectiveExpr_, and one that accepts FieldExpr_.

But, there should be something that accepts an array or other things. So user can write:

And(Tag("..."), Tag("..."))

Create methods cannot accept an array of Expr*, because it cannot be cast to derived classes. So, we should think of a way to solve this.

One solution is to write some overloads that accepts 2, 3, or more arguments. e.g.

And::create(FiledExpr*, FieldExpr*)

aidin36 avatar Jan 20 '14 02:01 aidin36

Assign this one to me

pruthig avatar Nov 27 '14 07:11 pruthig

Yours now (:

aidin36 avatar Nov 27 '14 13:11 aidin36