Trying to use a template class with ranges

mark mark at qtrac.eu
Thu Feb 6 13:30:53 UTC 2020


I forgot to mention: I want the class to work with:

Diff(aForwardRange, bForwardRange)
where T = ForwardRange, E = anything that supports ==
A common use case is for two sequences of strings (i.e., lines 
read from two files).

Diff(aString, bString) where
T = char[] or wchar[] or dchar[] E = char or wchar or dchar


More information about the Digitalmars-d-learn mailing list