Is 'int' a class defined in C++ standard library ?
From: Lord Labakudas (llabakudas_at_yahoo.com)
Date: 09/26/04
- Next message: David Hilsee: "Re: Two questions for help!"
- Previous message: Max: "Re: [OT] Help on makefiles"
- Next in thread: Oliver S.: "Re: Is 'int' a class defined in C++ standard library ?"
- Reply:(deleted message) Oliver S.: "Re: Is 'int' a class defined in C++ standard library ?"
- Reply: Dave Townsend: "Re: Is 'int' a class defined in C++ standard library ?"
- Reply: Sergei Matusevich: "Re: Is 'int' a class defined in C++ standard library ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Sep 2004 14:43:41 -0700
Hi,
I have a very simple question. Is int a predefined class in the
standard C++ library. If yes, is it typedef'd as int somewhere ? I
wish to know this because, I wish to create a class that has all the
functionalities of int, but is also derived from another base class.
For example,
class Tuple: public Data, public int
{
Tuple()
{
;
}
~Tuple()
{
;
}
};
I am definitely missing something here because this gives a
compilation error. Is there are better way to do this ?
Thanks in Advance,
Vijay.
- Next message: David Hilsee: "Re: Two questions for help!"
- Previous message: Max: "Re: [OT] Help on makefiles"
- Next in thread: Oliver S.: "Re: Is 'int' a class defined in C++ standard library ?"
- Reply:(deleted message) Oliver S.: "Re: Is 'int' a class defined in C++ standard library ?"
- Reply: Dave Townsend: "Re: Is 'int' a class defined in C++ standard library ?"
- Reply: Sergei Matusevich: "Re: Is 'int' a class defined in C++ standard library ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|