Date: 2008-07-16 06:11 pm (UTC)
If you think closures are hard in Python, just wait until they're in C++. C++0x, which is due roughly next year, includes closures, but if you include variables by reference, there is still nothing preventing them from being destroyed when the frame in which they were created is destroyed.

Another push in the direction of smart pointers in C++, for me.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

elfs: (Default)
Elf Sternberg

May 2025

S M T W T F S
    123
45678910
111213141516 17
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 15th, 2025 10:49 am
Powered by Dreamwidth Studios