I have a simple snippet here, what makes me wonder is how it compiles with no error or warnings because i can easily manipulate constant parameters on my = operator and my incr function, do you think this is a bug with my IDE?
Thanks @Miinnipaa for that BTW does that suppose to mean that my class nonstatic members and members allocating their resources on the heap exist as two different entities? meaning that we are free to alter any values held on the heap.
What if am using those members to store really senstive values on the heap, how would i prevent such illegal manipulations if possible coz you said that const qualifier for *this has no relation to it.