/usr/include/c++/5/bits/unique_ptr.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 6 | 50.0 |
line | true | false | branch |
---|---|---|---|
76 | 527 | 0 | delete __ptr; |
343 | 0 | 527 | if (__p != pointer()) |
765 | 527 | 0 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } |