Jonathan M Davis wrote: > On Tuesday, June 12, 2012 11:48:11 Jens Mueller wrote: > > Johannes Pfau wrote: > > > * As seed is a normal function right now, I can't overload it with a > > > > > > template. Is it safe to make the original seed a template as well, so > > > seedRange could be named seed, or would that break the API? > > > > What do you mean by you can't overload it? Does it not compile? I think > > it should. > > You can't currently overload templated functions with non-templated functions > or vice versa: > > http://d.puremagic.com/issues/show_bug.cgi?id=1528 > > The solution is to just give the non-templated functions an empty template > parameter list. It shouldn't break any code. Worst case, you might have to > add > constraints to the fully templated version to make it so that it doesn't > match > any of the arguments that the formerly non-templated function accepts.
Thanks, I didn't know. Better said I forgot. Because I already voted on this issue. Jens