Re: error C3699: '%' : cannot use this indirection on type 'System::String'

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"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


.



Relevant Pages

  • Re: error C3699: % : cannot use this indirection on type System::String
    ... Holger Grund wrote: ... > I can understand why delegates and arrays are special from a FE ... I strongly believe it's another design ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Design issue and Synthesis problem
    ... design too scalable and in that process, adding many arrays and thus ... assignments, but I cannot find any missing assignments. ... generates a multiplexer (and two adders). ...
    (comp.lang.verilog)
  • Re: Whats the deal with PSoC programmers?
    ... MCU with partially reconfigurable ... requiring processing of slowly varying analog signals. ... The reconfigurable arrays are loaded at reset time with configuration ... Cypress's design tools. ...
    (comp.arch.fpga)
  • Re: [9fans] A new language for Plan 9
    ... I'm aware of that quote. ... The design of bit arrays will be totally different from the design of bitfields. ... and then use getlong as follows: ...
    (comp.os.plan9)
  • Re: why cant functions return arrays
    ... would make it not a mistake in design for no good reason (per Jacob), ... but a consequence of how arrays are handled by the rest of the ... language" is a mistake in design or not is an open issue. ... reason weren't about to store and pass dope vectors. ...
    (comp.lang.c)