| Subject: | Re: Is cast operator unary or binary? How many operands? |
|---|---|
| From: | Richard Tobin |
| Date: | 30 Apr 2008 16:01:47 GMT |
| Newsgroups: | comp.lang.c |
In article <fva02f$8jm$1@xxxxxxxx>, jacob navia <jacob@xxxxxxxxxx> wrote: >Besides, a hyper hyper generic procedure: > Transform(anything,anything) >is just a dream... Well, it's easily implementable: #define Transform(value, type) ((type)(value)) >You can have only concrete procedures: You were the one who said "conceptually": >>> I am conceptually calling >>> >>> double TransformIntegerToDouble(int); Conceptually, you can have whatever you like. -- Richard -- :wq |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: taking a "word" as input, arnuld |
|---|---|
| Next by Date: | Siebel Automation Test Engineer, mam |
| Previous by Thread: | Re: Is cast operator unary or binary? How many operands?, jacob navia |
| Next by Thread: | Invicta Sapphire Diver Stainless Steel Mens Watch 7042 - Cheapest Watch, blog448 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |