hodoulp

Show:

What's happening?

  • Using thread safe SmartPtr

    Hi, Here is the smart pointer I want to use: Loki::SmartPtr<T, Loki::COMRefCounted, Loki::DisallowConversion, Loki::NoCheck, Loki::LockedStorage, Loki::PropagateConst> My class 'T' has a embedded thread-safe reference counter. My goal is to have a thread safe smart pointer. However, while checking how Loki handles this, I noticed that the...

    2009-06-09 17:09:29 UTC in Loki

  • Comment: Missing const on -> for SmartPtr's LockedStorage policy

    Sorry, I sent my email too fast. My impression is that the const is missing. Based on my experiments, it fixes my problem without adding side-effects. But I would like to know if there were reason(s) to not have this const. Thanks, Patrick.

    2009-06-09 14:41:53 UTC in Loki

  • Missing const on -> for SmartPtr's LockedStorage policy

    I think that a const is missing for the '->' of SmartPtr's LockedStorage policy . Code Snippet: int main() { const Loki::SmartPtr

    2009-06-09 14:32:20 UTC in Loki

About Me

  • 2009-06-09 (5 months ago)
  • 2530463
  • patrickhodoul (My Site)
  • hodoulp

  • SQLite C C++ Java Python

Send me a message