const ref void[] – float[] not implicitly convertable to void[]

David d at dav1d.de
Mon Jul 23 03:12:49 PDT 2012


A workaround:

http://dpaste.dzfl.pl/f424956e

------------
void foo_t(T)(const ref T data) if(isArray!T) {
	test(data.ptr, data.length);
}
------------



More information about the Digitalmars-d-learn mailing list