|
-
June 9th, 2003, 07:34 AM
#1
How to create conversion of independent types?
Code like this
double n =0;
CTime(n);
generates warning
"warning C4244: 'initializing' : conversion from '__time64_t' to 'double', possible loss of data"
probably need to write a conversion to make compiler
notified that conversion proceed through redefined way -
loss of data is in aware of program.
How to write this, with probably no inherit from
that types - due many code already written,
and will be looking no well readable with so many conversions.
Using SmartPointers only?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|