Ignore:
Timestamp:
2018-07-05T21:41:23Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
09e02ee
Parents:
db54a9d
git-author:
Dzejrou <dzejrou@…> (2018-05-09 23:06:44)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:23)
Message:

cpp: added weak_ptr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/internal/memory/shared_ptr.hpp

    rdb54a9d rbaed175  
    3131
    3232#include <exception>
    33 #include <functional>
     33#include <internal/functional/arithmetic_operations.hpp>
    3434#include <internal/memory/allocator_arg.hpp>
    3535#include <internal/memory/shared_payload.hpp>
     
    333333            {
    334334                if (payload_)
    335                     return payload_->refcount();
     335                    return payload_->refs();
    336336                else
    337337                    return 0L;
Note: See TracChangeset for help on using the changeset viewer.