On Sunday 03 February 2002 05:46 pm, Ihsan Ali Al Darhi wrote: > Hi... > > I looked at the documrntation or 'any' class. It looks good but it didn't > tell any thing if i can use it as follows > > any x=foo();
"x" will contain the value returned from the function "foo" (if "foo" is a function), or a value of type "foo" (if "foo" is a type). > It also didn't discuss this case > > any x=5; > any y="5"; > > any z=x+y; > > Now what is z? A string or a numeric? You can't do that with any, because the '+' operator is not defined. Doug _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost