Re: error "cannot use this type here without a top-level '^'" ??
- From: "Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@xxxxxxxxxxxxxxx>
- Date: Tue, 7 Feb 2006 15:27:06 -0800
"Peter Oliphant" <poliphant@xxxxxxxxxxxxxxxx> wrote in message
news:OgBfzqALGHA.2300@xxxxxxxxxxxxxxxxxxxxxxx
... If you want the actually instances stored in the array, you must
create 'value' struct. These have the dis-advantage that you can't have
any methods, incuding no constructors, for them.
That's not true. You can have methods on value types, but you must have a
no-args constructor.
-cd
.
- Follow-Ups:
- Re: error "cannot use this type here without a top-level '^'" ??
- From: Peter Oliphant
- Re: error "cannot use this type here without a top-level '^'" ??
- References:
- error "cannot use this type here without a top-level '^'" ??
- From: asnowfall
- Re: error "cannot use this type here without a top-level '^'" ??
- From: Peter Oliphant
- error "cannot use this type here without a top-level '^'" ??
- Prev by Date: Read and Write Sector
- Next by Date: Static libraries producing slow code in VC7/8
- Previous by thread: Re: error "cannot use this type here without a top-level '^'" ??
- Next by thread: Re: error "cannot use this type here without a top-level '^'" ??
- Index(es):
Relevant Pages
|