Error: cannot call public/export function someFunction from invariant
simendsjo
simendsjo at gmail.com
Fri Oct 18 00:00:15 PDT 2013
See topic. Why is this not allowed? The function in question is
not virtual.
struct S {
void someFunction() const {}
const invariant() { someFunction(); }
}
void main() {
S s;
}
More information about the Digitalmars-d-learn
mailing list