Issue 10377 - std.typecons.wrap doesn't consider private members

http://d.puremagic.com/issues/show_bug.cgi?id=10377