Topic: short-suffix"?
Author: aGriffiths@ma.ccngroup.com (Alan Griffiths)
Date: 1996/11/26 Raw View
I've just surfaced from a debugging problem caused by some odd code
that overloads a constructor on different integer types and requires
an additional parameter to identify they type supplied. (Library code
from Microsoft).
This caused a problem as a number of integer constants have been used,
and these require different type identifiers in different environments.
I can fix this by adding either a "long-suffix" (e.g. "1L") or casting
to ensure a "portable" type.
However, I was struck by the lack of a "short-suffix". This is not
mentioned the latest draft to which I have access. Has this
(admittedly minor) lack of orthogonality been addressed?
__
Alan Griffiths | Tel. . . . : +44 115 934 4517
Senior Systems Consultant, | CompuServe : 100142,2007
CCN Group Limited. | Home . . . : alan@octopull.demon.co.uk
(agriffiths@ma.ccngroup.com) | _usual disclaimers_
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]