Article View: comp.windows.interviews
Article #596Re: List Problems
From: Rijvordt EGK
Date: Wed, 07 Oct 1992 09:48
Date: Wed, 07 Oct 1992 09:48
30 lines
1159 bytes
1159 bytes
thrasher@newbirth.eng.sun.com (Jim Thrasher) writes:
>In list.c and list.h, the macros declarePtrList and implementPtrList are also
>available. I've been using them successfully with Solaris 2.0.1 C++ compiler:
>declarePtrList(BlockList, Block); // In .h file
>......
>implementPtrList(BlockList, Block); // In .cc file
Yes, this is the solution. Thanks.
I missed it because it was not in the documentation.
> - Jim Thrasher
>>
>> The lexical parsing of the #defines of implementList and declareList seems
>> to be somewhat incompatible with pointer types. I really wish templates
>> were available!!
>>
>>
>> Hope this helps,
>>
>> Adam Janin
>>
Thanks to all who replied.
-Edwin (erijvor@cs.vu.nl)
Technical Details
Message-ID:
<BvqwKy.8KE@cs.vu.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!star.cs.vu.nl!erijvorReferences:
<9210061648.AA03228@newbirth.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!star.cs.vu.nl!erijvor From: erijvor@cs.vu.nl (Rijvordt EGK) Subject: Re: List Problems Message-ID: <BvqwKy.8KE@cs.vu.nl> Sender: news@cs.vu.nl Organization: Fac. Wiskunde & Informatica, VU, Amsterdam References: <9210061648.AA03228@newbirth.Eng.Sun.COM> Date: Wed, 7 Oct 1992 09:48:33 GMT Lines: 30