Replies: 2 comments 6 replies
-
disposable is actually reactive raii =) you can't just keep real raii object due to it is callbacks |
Beta Was this translation helpful? Give feedback.
0 replies
-
Everywhere you return a disposable, you could return a handle that, at the end of its lifetime, does the things that are currently done in |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Triggered by #679, I feel inclined to comment that I do not understand why a reactive extensions implementation in C++ requires the notion of a
disposable.
The RAII principle is there before your nose! Every piece of C++ software I saw in the past 30 years that put an extra layer for lifetime or resource management on top of RAII was doomed to fail.Can you elaborate on why we must copy a
C#
-feature here?Beta Was this translation helpful? Give feedback.
All reactions