Re: error C3699: '%' : cannot use this indirection on type 'System::String'
- From: "Holger Grund" <holger.grund@xxxxxxxxxxxxxxx>
- Date: Tue, 15 Nov 2005 22:35:38 +0100
"Arnaud Debaene" <adebaene@xxxxxxxxxxxxxxxx> wrote
>>
>> I can understand why delegates and arrays are special from a FE
>> perspective (even though, I strongly believe it's another design
>> flaw), but what the heck is special about System::String?
> Well, while you're at it, I'll appreciate if you could share your
> understanding on the reasons for the limitations on arrays and delegates
> too ;-)
I didn't say I like it ;-) But obviously, there's some compiler magic
involved
with arrays and delegates. For instance, the CLR doesn't expose arrays
as specialiazations of ::cli::array<> as in C++/CLI. But there isn't
something
obviously different for String. IIRC it has a special short form at encoding
level and there are probably some subtleties involving string literal
conversions.
If you ask why a user should care about it, I don't know. In fact, I think
I filed a bug for the delegate case, which was closed as by design.
Yes, there it is:
http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx?feedbackid=2518bec9-c4ad-4018-9a0d-f1595d7d7e45
-hg
.
- Follow-Ups:
- Re: error C3699: '%' : cannot use this indirection on type 'System::String'
- From: Peter Oliphant
- Re: error C3699: '%' : cannot use this indirection on type 'System::String'
- References:
- error C3699: '%' : cannot use this indirection on type 'System::String'
- From: Holger Grund
- Re: error C3699: '%' : cannot use this indirection on type 'System::String'
- From: Arnaud Debaene
- error C3699: '%' : cannot use this indirection on type 'System::String'
- Prev by Date: Re: "pointers" in /clr
- Next by Date: Re: "pointers" in /clr
- Previous by thread: Re: error C3699: '%' : cannot use this indirection on type 'System::String'
- Next by thread: Re: error C3699: '%' : cannot use this indirection on type 'System::String'
- Index(es):
Relevant Pages
|