Re: Access to function returning class-wide type
- From: Paweł 'Nivertius' Płazieński <nivertius@xxxxxxxxx>
- Date: Fri, 22 Aug 2008 09:34:17 +0200
Dmitry A. Kazakov wrote:
Why then N is a parameter? When each type knows its N you don't need to
pass it back.
To be perfectly honest, the parameter in my specific case is not a Natural
[it was just an example], but complex type. Type of the produced object is
determined on one part and the distinct type is built on the whole object.
Sorry for misleading you, but for natural it also can be the case:
When the condition is N in 1 .. 12, type should be Derived_1 build on that
N.
--
Paweł Płazieński aka Nivertius
"In the end, there will be Ada, XML and gzip"
.
- References:
- Access to function returning class-wide type
- From: Paweł 'Nivertius' Płazieński
- Re: Access to function returning class-wide type
- From: Georg Bauhaus
- Re: Access to function returning class-wide type
- From: Paweł 'Nivertius' Płazieński
- Re: Access to function returning class-wide type
- From: Dmitry A. Kazakov
- Access to function returning class-wide type
- Prev by Date: Re: Access to function returning class-wide type
- Next by Date: C chars_ptr STORAGE_ERROR in Imported function
- Previous by thread: Re: Access to function returning class-wide type
- Next by thread: Re: Access to function returning class-wide type
- Index(es):
Relevant Pages
|