Use numeric variable in RooWorkspace factory statemen?

Suppose I have such code:

double lowbound=0, upbound=1;
RooRealVar x("x","x",lowbound,upbound);
RooRealVar y("y","y",lowbound,upbound);

In RooWorkspace factory can I use symbols/variables in the same way as lowbound/upbound above? I prefer not to write

w.factory("x[0,1]");
w.factory("y[0,1]");

since this may lead to refactoring problem.

Hi,

The factory primarily supports symbolic manipulation of RooFit objects, with some support added
to cast literals of various types (doube,int,bool,enum) to such objects. Adding symbols representing
doubles would be a significant extension of the language and is not foreseen.

Wouter