mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 20:06:29 -04:00
iz is a general purpose library for the D programming language. It includes streams, containers, a serializer, property binder, Pascal-like sets, Pascal-like properties and more WWW: https://github.com/BBasile/iz
11 lines
442 B
D
11 lines
442 B
D
--- import/iz/containers.d 2017-04-03 03:39:24 UTC
|
|
+++ import/iz/containers.d
|
|
@@ -103,7 +103,7 @@ private:
|
|
pragma(inline, true)
|
|
void postblitElements()()
|
|
{
|
|
- static if (is(T == struct) && hasMember!(T, "__postblit") && isCopyable!T )
|
|
+ static if (is(T == struct) && hasMember!(T, "__postblit") && std.traits.isCopyable!T )
|
|
{
|
|
foreach(i; 0.._length)
|
|
(*rwPtr(i)).__postblit();
|