python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
convert const std::shared_ptr<const T> into boost::shared_ptr<T>
I need convert a variable type of const std::shared_ptr<const T> into boost::shared_ptr<T>.
In the following scanCallback(), I can not modify the param const std::shared_ptr<const io_ad...

narutojxl
Votes: 0
Answers: 1
About shared_mutex and shared_ptr across multiple threads
I implemented code such that multiple instances running on different threads reads other instances' data using reader-writer lock and shared_ptr. It seemed fine, but I am not 100% sure about that and ...
torano
Votes: 0
Answers: 1
Captured shared_ptr released while executing the lambda body
I have a nested lambda in C++, which is to say, an inner lambda contained in a middle lambda, which is also contained in an outer lambda.
I created a shared_ptr in the outer lambda, which I passed by ...
user
Votes: 0
Answers: 1
How to bind a method that returns std::shared_ptr< uint8_t > with pybind11
From C++ via pybind11 to Python project I've met with an issue and I don't know how to proceed.
Intro, "Holder classes are only supported for custom types"
There is an abstract C++ class Pag...

Naum
Votes: 0
Answers: 0