> template <class T>
> T GetValue(T t) {
> if (t == 1)
> return 1;
> else
> return T(2.55);
> }
> }
> ....compiled without warning.
> output:
> Thank you, that was what I was looking for. Chris _______________________________________________ Help-gplusplus mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gplusplus
