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

Method what

dlib/error.h:114–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 !*/
113
114 const char* what(
115 ) const noexcept
116 /*!
117 ensures
118 - if (info.size() != 0) then
119 - returns info.c_str()
120 - else
121 - returns type_to_string(type)
122 !*/
123 {
124 if (info.size() > 0)
125 return info.c_str();
126 else
127 return type_to_string();
128 }
129
130 const char* type_to_string (
131 ) const noexcept

Callers 15

load_imageMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected