1 Jun
2004
1 Jun
'04
11:55 a.m.
On Fri, May 28, 2004 at 11:38:15PM +0000, Wolfgang Meyer wrote:
If my understanding is correct, "get" expects the desired result type to be specified explicitly. In fact, how should the compiler deduce the return type of "get" otherwise? So you need to write: double d = get<double>(pi);
Thanks. This works. I missed the example usage of get<T> in the documentation. -- Caleb Epstein | bklyn . org | Without love intelligence is dangerous; cae at | Brooklyn Dust | without intelligence love is not enough. bklyn dot org | Bunny Mfg. | -- Ashley Montagu