Sep 28, 2009 at 1:02pm
signed, unsigned, short and long
Why do data type modifiers only work on built in types?
Why can't you make a custom data type modifier?
Sep 28, 2009 at 1:09pm
They don't apply to all built in types.
Last edited on Sep 28, 2009 at 3:50pm
Sep 28, 2009 at 3:32pm
Thanks for the answer Duoas
my only complaint is I can't do
unsigned MyType x;
without doing
MyType<unsigned> x;
I would just like it if it could be overloaded.
also from your example how could I get a friendly int;
also on a side note has anyone actually used
unsigned void x;
and if so, why did you choose it over
signed void x;
Last edited on Sep 28, 2009 at 3:38pm
Sep 29, 2009 at 1:43am
void is neither signed nor unsigned -- you cannot specifiy it as such (according to ISO/IEC C/C++)
RLM is not part of C++.
Sep 29, 2009 at 4:50pm
RLM?
Last edited on Sep 29, 2009 at 4:50pm