MCPcopy Create free account
hub / github.com/catboost/catboost / TPortHolder

Class TPortHolder

library/cpp/testing/common/network.h:16–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 };
15
16 class TPortHolder : private THolder<IPort> {
17 using TBase = THolder<IPort>;
18 public:
19 using TBase::TBase;
20 using TBase::Release;
21 using TBase::Reset;
22
23 operator ui16() const& {
24 return (*this)->Get();
25 }
26
27 operator ui16() const&& = delete;
28 };
29
30 IOutputStream& operator<<(IOutputStream& out, const TPortHolder& port);
31

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected