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

Function is_same_object

dlib/graph_utils/graph_utils.h:152–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150 {
151 template <typename T, typename U>
152 inline bool is_same_object (
153 const T& a,
154 const U& b
155 )
156 {
157 if (is_same_type<const T,const U>::value == false)
158 return false;
159 if ((void*)&a == (void*)&b)
160 return true;
161 else
162 return false;
163 }
164
165 template <
166 typename T

Callers 15

copy_graph_structureFunction · 0.70
copy_graphFunction · 0.70
goMethod · 0.50
go2Method · 0.50
perform_testMethod · 0.50
label_connected_blobsFunction · 0.50
hysteresis_thresholdFunction · 0.50
assign_imageFunction · 0.50
assign_image_scaledFunction · 0.50
segment_imageFunction · 0.50
sobel_edge_detectorFunction · 0.50

Calls

no outgoing calls

Tested by 3

goMethod · 0.40
go2Method · 0.40
perform_testMethod · 0.40