Should this work?

Jacob Carlborg doob at me.com
Fri Jan 10 00:49:20 PST 2014


On 2014-01-10 09:29, Andrei Alexandrescu wrote:

> That's a documentation issue. We've pursued generalization of string
> algorithms with good result. As such indexOf is susceptible for
> generalization. However, the justification functions are unlikely to be
> useful for other data types because most don't have a notion of "filler"
> object.

They might not have a default "filler" object but you can pass the 
"filler" as an argument.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list