TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: BOB STOUT
from: THOMAS MAEDER
date: 1997-07-09 19:48:00
subject: RTTI

BS> of %. However, I'm kinda lost when it comes to writing a template-ba
BS> equivalent which will need to either use the % operator or call fmod
BS> depending on the type of its arguments and return value.
First a  remark:  your  question  hasn't  anything  to  do  with  RTTI
(*runtime*  type  identification)  since  all your type information is
resolved at compile time.
Second, I think that it isn't possible to do what you want. You  can't
overload operators with arguments of built-in types.
Thomas
---
  MM 1.0 #0113  Twitfilter - die elektronische Empfngnisverhtung
---------------
* Origin: McMeier & Son BBS (2:301/138)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.