struct S { void someFunction() const {} const invariant() { someFunction(); } } void main() { S s; }
See topic. Why is this not allowed? The function in question is
not virtual.
- Error: cannot call public/export function someFunction fr... simendsjo
- Re: Error: cannot call public/export function someFu... bearophile
- Re: Error: cannot call public/export function so... Jonathan M Davis
- Re: Error: cannot call public/export functio... Andrej Mitrovic
- Re: Error: cannot call public/export function so... simendsjo