|
-
November 1st, 2002, 01:35 PM
#1
A typedef question
I only found out last week that this was possible
typedef int INTEGER, *PINTEGER, **PPINTEGER;
You can also add references to it
typedef int INTEGER, *PINTEGER, &RINTEGER;
What is strange is that you can do this
typedef int const *CPINTEGER, INTEGER;
but not this
typedef int INTEGER, const* CPINTEGER;
I would love to do
typedef list<int> IntList, ::iterator IntListIter;
Does anyone know of any other symbol other than * and & that can appear after the comma?
Succinct is verbose for terse
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
|