Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Did multimap ever have a member "Cursor"?

Reply
Thread Tools

Did multimap ever have a member "Cursor"?

 
 
Hans Merkl
Guest
Posts: n/a
 
      01-21-2004
Hi,

I have a very old piece of code which supposedly comes from OS/2. It looks
like this:

class indexTable:std::multimap<Type1,Type2>
{

};

Later there is a piece of code like this:

indexTable t;
indexTable::Cursor c;

Now the compiler complains it can't find Cursor.

indexTable doesn't define any members so I assume Cursor must come from
multimap. The multimap documentation I have doesn't mention Cursor, but
since the code is very old, it might be that some older implementations
defined it.

Does anybody know more about this?

Thanks

Hans Merkl


 
Reply With Quote
 
 
 
 
Victor Bazarov
Guest
Posts: n/a
 
      01-21-2004
"Hans Merkl" <> wrote...
> I have a very old piece of code which supposedly comes from OS/2. It looks
> like this:
>
> class indexTable:std::multimap<Type1,Type2>
> {
>
> };
>
> Later there is a piece of code like this:
>
> indexTable t;
> indexTable::Cursor c;
>
> Now the compiler complains it can't find Cursor.
>
> indexTable doesn't define any members so I assume Cursor must come from
> multimap. The multimap documentation I have doesn't mention Cursor, but
> since the code is very old, it might be that some older implementations
> defined it.
>
> Does anybody know more about this?


I don't know about what used to be, but AFAIR, the library _never_
contained classes named starting with a capital letter.

Victor


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Did this stop working? Or did it ever work? (metamagic) Daniel Waite Ruby 2 05-01-2008 11:08 PM
The Kremlin Letter - did it ever actually appear? karlpov DVD Video 1 11-19-2006 07:39 PM
Did you ever do it with the babysitter? Chuck Lysaght Digital Photography 15 03-31-2005 04:59 AM
don't you ever, don't you ever, lower yourself, forgetting all your standards Jason ASP .Net Web Controls 0 07-06-2004 12:50 PM
How would I use qsort to sort a struct with a char* member and a long member - I want to sort in order of the long member Angus Comber C Programming 7 02-05-2004 06:41 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57