[Issue 7182] Call const or immutable member functions from class invariant

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 19 23:41:34 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=7182


Infiltrator <lt.infiltrator at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lt.infiltrator at gmail.com


--- Comment #1 from Infiltrator <lt.infiltrator at gmail.com> 2014-03-19 22:38:31 PDT ---
I think that the issue would instead be with the fact that public functions
(f() in this case) call invariant() before and after they run, which would
result in an infinite loop.

I therefore think that this should be closed as INVALID.  Any of you big guns
want to weigh in on this?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list