-
Aka unique_ptr...
-
Starting to use litgen to make bindings and ran into an issue when using vectors of smart points. litgen does not seem to interpret vectors of smart pointers correctly.
example.h
```c++
#includ…
-
The [wallet2_api](https://github.com/monero-project/monero/blob/a1dc85c5373a30f14aaf7dcfdd95f5a7375d3623/src/wallet/api/wallet2_api.h) uses raw pointers in most situations. In some places, [memory lea…
-
We need to convert all pointers from standard pointers to smart pointers, using the unique, shared and weak versions appropriately.
-
I used only raw pointers. Should I replace them with smart pointers?
https://github.com/SuperShinyEyes/simple-stack-cpp/blob/fdca30da7a6aee60a802ba726d19f30a884ce0ba/include/simple_stack.h#L75-L77
…
-
It would be much, much better if libraries could specify how a specific resource is cleaned up _with no user interaction_. `FinalizationRegistry` doesn't work here because it lacks guarantees.
## …
-
Klog has some memory issues. There's a double `free()` somewhere and valgrind has a field day listing off issues.
Traditional unsafe C-style pointers are used throughout the codebase, even in places …
-
Would you like to wrap any pointer data members with the class template “[std::unique_ptr](https://en.wikipedia.org/wiki/Smart_pointer#unique_ptr "Description for the usage of smart pointers")”?
Up…
-
Would you like to wrap any pointer data members with the template class "[std::unique_ptr](https://en.wikipedia.org/wiki/Smart_pointer#unique_ptr)"?
Update candidates:
- [PaletteController](https://g…
-
Why we can't pass `nil` to `std::shared_ptr` without registering a new overload. This behavior used to work previously according to my old tests, not anymore.
Consider [this example](https://godbolt.…