Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Release v0.1.1

Latest

Choose a tag to compare

@nixiz nixiz released this 01 Jun 21:33
d5f8983

v.0.1.1 release notes:

  • updated core policy checking mechanism.
    now tracked_ptr also supports checking on destructor calling
  • added new accessing policy: must_destruct_by_same_thread_constructed
    the new policy checks if created source has destructed on the same thread that its created
    auto test_ptr = make_tracked_ptr<TestingClass, 
        exceptions::throw_on_exception<exception>, 
        must_destruct_by_same_thread_constructed>();
    
    ASSERT_NO_THROW(test_ptr->doubled(1));
    std::thread th([&] { 
        ASSERT_THROW(test_ptr.reset(), test_exception); 
    });
    th.join();
Morty Proxy This is a proxified and sanitized view of the page, visit original site.