ListView_InsertColumn() question {revised]
Dmitry Timoshkov
dmitry at codeweavers.com
Sat Oct 7 09:27:19 CDT 2006
"Dmitry Timoshkov" <dmitry at codeweavers.com> wrote:
> "Andrew Talbot" <Andrew.Talbot at talbotville.com> wrote:
>
>> Given (for a type T) that const T * and T const * are equivalent, and
>> given the right-to-left nature of pointer declarations, am I not right in
>> thinking that const LPLVCOLUMN pcol is really equivalent to:
>>
>> LVCOLUMN * const pcol;
This one is an equivalent of 'LPLVCOLUMN pcol';
>>
>> not
>>
>> const LVCOLUMN *pcol;
>>
>> ?
>
> I think yes. A simple test with MSVC compiler and gcc confirms that as well.
Sorry for the ambiguous answer, I missed "not" in "am I not", and it slightly
confused me, leading to an inversed logic in thinking.
--
Dmitry.
More information about the wine-devel
mailing list