class->methode1()
returns a pointet to an object that provides a method methode2
you can call immediately. By doing this you create anonymous objects (rvalues if I am not wrong) and you call methods on those objects. You cannl actually say
class2 = class1->methode();
and then call class2->methode2();
to achieve the same. (pseudo-code)
5
solved class->methode1()->methode2() what does it mean? [closed]