The detaching-member test incorrectly flags the following code: my_class &obj = list[index]; obj.someNonConstMember( 5 ); obj.someOtherNonConstMember( 10 ); Ideally the test would detect that the returned value is being stored in a non-const reference and not throw the warning. Reproducible: Always
can you attach a compilable test-case ? thanks
ping ? I can't reproduce this