Timeline for Where is the 'this' variable stored?
Current License: CC BY-SA 3.0
17 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 13 at 21:15 | history | protected | gnat | ||
| Sep 11, 2014 at 20:49 | history | tweeted | twitter.com/#!/StackProgrammer/status/510168152299163648 | ||
| Sep 4, 2014 at 7:06 | answer | added | Jared Grubb | timeline score: 2 | |
| Aug 29, 2014 at 10:27 | comment | added | Basile Starynkevitch | You are wrong in believing that every local variable has a stack location. Some variables are only kept in registers. | |
| Aug 29, 2014 at 5:20 | vote | accept | quant | ||
| Aug 29, 2014 at 4:58 | answer | added | Basile Starynkevitch | timeline score: 18 | |
| Aug 29, 2014 at 4:56 | comment | added | H2CO3 |
The standard says that it's an rvalue, i. e. that it has no storage. Now in practice, it's almost always implemented as an extra "0th" function parameter, but in theory a compiler could proceed to emitting code that calculates the address of the object every time it encounters this.
|
|
| Aug 29, 2014 at 4:51 | history | edited | quant | CC BY-SA 3.0 |
added 240 characters in body
|
| Aug 29, 2014 at 4:48 | answer | added | Winston Ewert | timeline score: 2 | |
| Aug 29, 2014 at 4:21 | answer | added | user4828 | timeline score: 1 | |
| Aug 29, 2014 at 3:31 | answer | added | Bill Door | timeline score: -2 | |
| Aug 29, 2014 at 0:31 | history | edited | quant | CC BY-SA 3.0 |
added 3 characters in body
|
| Aug 29, 2014 at 0:13 | history | edited | quant | CC BY-SA 3.0 |
added 341 characters in body
|
| Aug 29, 2014 at 0:10 | answer | added | ratchet freak | timeline score: 1 | |
| Aug 29, 2014 at 0:10 | answer | added | Rufflewind | timeline score: 13 | |
| Aug 29, 2014 at 0:02 | history | edited | quant | CC BY-SA 3.0 |
added 275 characters in body; edited title
|
| Aug 28, 2014 at 23:54 | history | asked | quant | CC BY-SA 3.0 |