comp.lang.ada
 help / color / mirror / Atom feed
From: John Perry <john.perry@usm.edu>
Subject: Re: Advent of Code Day 6
Date: Sun, 6 Dec 2020 11:37:45 -0800 (PST)	[thread overview]
Message-ID: <5b8e43c3-ed39-4a44-8aa6-bc00d43be624n@googlegroups.com> (raw)
In-Reply-To: <rqie1a$8b2$1@dont-email.me>

On Sunday, December 6, 2020 at 5:07:24 AM UTC-6, Jeffrey R. Carter wrote:
> On 12/6/20 9:39 AM, John Perry wrote: 
> >...the only way I could find to count the number of elements in a Character_Set was by converting it to a Character_Sequence. Is there another way?
> Probably one of the set pkgs in Ada.Containers or 
> PragmARC.Data_Structures.Sets.Discrete might be a better choice than Character_Set 

Thanks, Ada.Containers.Hashed_Sets works fine. I look forward to initialization of containers in the next edition of gnat.

john perry

  reply	other threads:[~2020-12-06 19:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06  8:39 Advent of Code Day 6 John Perry
2020-12-06 11:07 ` Jeffrey R. Carter
2020-12-06 19:37   ` John Perry [this message]
2020-12-07 10:55     ` Maxim Reznik
2020-12-07 13:32       ` 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