From: jakub.dabek@gmail.com
Subject: Re: How to access Vector.Index_Type?
Date: Sun, 17 Mar 2019 17:12:25 -0700 (PDT)
Date: 2019-03-17T17:12:25-07:00 [thread overview]
Message-ID: <bf3fe5bd-2c2d-4b62-b27f-ec9cd38f6a63@googlegroups.com> (raw)
In-Reply-To: <lytvg1tcq6.fsf@pushface.org>
Simon Wright writes:
> You could use
>
> subtype My_Index_Type is MyVec.Extended_Index
> range MyVec.Extended_Index'First + 1 .. MyVec.Extended_Index'Last;
This feels more like a "life-hack", requiring the knowledge of internal representation of `Extended_Index`. Is there really no better way to do that?
next prev parent reply other threads:[~2019-03-18 0:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-17 20:43 How to access Vector.Index_Type? jakub.dabek
2019-03-17 21:25 ` Simon Wright
2019-03-18 0:12 ` jakub.dabek [this message]
2019-03-18 8:21 ` Simon Wright
2019-03-18 4:17 ` gautier_niouzes
2019-03-18 5:27 ` J-P. Rosen
2019-03-18 8:31 ` Dmitry A. Kazakov
2019-03-18 20:59 ` briot.emmanuel
2019-03-18 23:01 ` J-P. Rosen
2019-03-18 19:35 ` Jeffrey R. Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox