Le 21/02/2017 à 00:08, Guillaume Munch a écrit :
Le 20/02/2017 à 18:27, Jean-Marc Lasgouttes a écrit :
Le 13/02/2017 à 20:55, Jean-Marc Lasgouttes a écrit :
What I mean is that you can easily force
QCache into shared ownership by replacing
QCache<docstring, QTextLayout>
with
QCache<docstring, shared_ptr<QTextLayout>>
and create the appropriate wrappers for insertion and retrieval.
Could you have a go at this solution?
Could you do the backport to stable? :)
You mean the version that does not require C++11? Mmm, I can always have
a go at it.
JMarc