[Issue 3318] New: Rebindable.get is not accessible
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 14 23:18:25 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3318
Summary: Rebindable.get is not accessible
Product: D
Version: 2.032
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: ludwig at informatik.uni-luebeck.de
--- Comment #0 from Sönke Ludwig <ludwig at informatik.uni-luebeck.de> 2009-09-14 23:18:24 PDT ---
Rebindable.get is an alias for Rebindable.original, which in turn is private:
---
import std.typecons;
class C {}
void main(){
Rebindable!(const(C)) test;
const(C) testCopy = test.get;
}
---
test.d(7): Error: struct std.typecons.Rebindable!(const(C)).Rebindable member
original is not accessible
test.d(7): Error: struct std.typecons.Rebindable!(const(C)).Rebindable member
original is not accessible
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list