MCPcopy Create free account
hub / github.com/davisking/dlib / weak_ptr_node

Method weak_ptr_node

dlib/smart_pointers/shared_ptr.h:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 struct weak_ptr_node
43 {
44 weak_ptr_node (
45 shared_ptr_node* sn
46 ) :
47 ref_count(1),
48 shared_node(sn)
49 {
50 DLIB_ASSERT(sn != 0,"");
51 }
52
53 long ref_count;
54 shared_ptr_node* shared_node;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected