Re: [boost] any doc

2002-11-18 Thread Douglas Gregor
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), o

[boost] any doc

2002-11-18 Thread Ihsan Ali Al Darhi
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(); 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? Mohammed _