From a890f084c5236c97b22ec16b11709cdd6b79a19d Mon Sep 17 00:00:00 2001 From: dawg Date: Tue, 31 Jan 2012 21:40:08 +0100 Subject: [PATCH] std.regex.Captures is public - Note std.regex use a global "private:" and a whitelist of public symbols. --- std/regex.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/regex.d b/std/regex.d index 8b6266606..c4a72b662 100644 --- a/std/regex.d +++ b/std/regex.d @@ -6122,7 +6122,7 @@ enum OneShot { Fwd, Bwd }; } ---- +/ -@trusted struct Captures(R,DIndex) +@trusted public struct Captures(R,DIndex) if(isSomeString!R) {//@trusted because of union inside alias DIndex DataIndex;