MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / invoke

Method invoke

paddle/utils/string/tinyformat/tinyformat.h:194–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192template <typename T, bool convertible = is_convertible<T, int>::value>
193struct convertToInt {
194 static int invoke(const T & /*value*/) {
195 throw FormatError();
196 return 0;
197 }
198};
199// Specialization for convertToInt when conversion is possible
200template <typename T>

Callers

nothing calls this directly

Calls 1

FormatErrorClass · 0.85

Tested by

no test coverage detected