Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #761 from WalterBright/dup-public
Browse files Browse the repository at this point in the history
.dup should be public
  • Loading branch information
dnadlinger committed Apr 12, 2014
2 parents a6cbeef + 22a429d commit 4ef7b07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/object_.d
Expand Up @@ -2754,6 +2754,8 @@ unittest

private extern (C) void[] _d_newarrayU(const TypeInfo ti, size_t length) pure nothrow;

public:

/// Provide the .dup array property.
auto dup(T)(T[] a)
if (!is(const(T) : T))
Expand Down

0 comments on commit 4ef7b07

Please sign in to comment.