this-pointer
Why was "this" used as a non const deprecated in C++
Why was this deprecated in C++? How is the this pointer in C+开发者_如何学Go+ different than this in Java?[详细]
2023-04-07 10:09 分类:问答c++ this pointer question
here is the thing, I want to (probably not the best thing to do) have the ability to call some class constructor that receives as a parameter a pointer to the class who\'s calling (ufff!!!). Well in c[详细]
2023-03-29 23:05 分类:问答restrict qualifier on member functions (restrict this pointer)
Note: To clarify, the question is not about the use of the restrict keyword in general, but specifically about applying it to member functions as described here.[详细]
2023-03-22 18:59 分类:问答How does the Visual C++ compiler pass the this ptr to the called function?
I\'m learning C++ using Eckel\'s \"Thinking in C++\". It states the following: If a class contains virtual methods, a virtual function table is created for that class etc. The workings of the functi[详细]
2023-03-22 16:45 分类:问答Passing a node as an outstream operator
This prints an error message about qualifiers but don\'t really understand what that means and how to adjust the code for it to work? Anyways, thanks a lot for looking at the code.[详细]
2023-03-21 06:56 分类:问答PHP assign $this of another class
I have been wondering is it po开发者_如何学Cssible to assign another object to $this? In CodeIgniter I am calling another controller from main controller.[详细]
2023-03-10 19:57 分类:问答C++ internals: Messing with the this-pointer
I have some questions about the internal workings of C++. I know for example that every member function of a class has an implied hidden parameter, which is the this-pointer (much in the same way Pyth[详细]
2023-02-27 04:19 分类:问答shared_ptr and the this-pointer
OK, I started using shared-pointers and pass shared-pointers as much as possible.No conversion to raw pointers anymore.This works good, except in this specific case:[详细]
2023-02-07 21:24 分类:问答Assigning C++ function pointers to member functions of the same object
How d开发者_运维百科o I get the function pointer assignments (and maybe the rest) in test.calculate to work?[详细]
2023-02-07 18:15 分类:问答Is it okay to use the this pointer? [duplicate]
This question already has answers here: Closed 12 years ago. Possible Duplicates: Is there any reason to use this->[详细]
2023-02-05 10:25 分类:问答