Re: parameter case sensitivity

al davis <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Sun, 6 Nov 2016 20:03:11 +0100
Felix Salfelder <[email protected]> wrote:

> tell about duplicates via error()? this will not be possible with IChar
> and less alone. my current approach uses a DICT class to wrap the map,
> would that be a good place?

What I was thinking isn't that much different, but simpler.

Often when I am working on something like this, I start with what comes
to mind, do it again a few times, and eventually end up with something
tiny compared to the original.

What I was really thinking of is that Ichar is a class, with the ops so
it can be used in place of char.  It's just like char except for the
compare functions, so it can be used wherever char is used, and char
not used any more.

The DICT class to wrap the map is really not much different from what
could be done with a typedef.

Not all things needing to be compared like this are in maps.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.