MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / is_empty

Function is_empty

plugins/videobasedtracker/DirectShowCameraLib/WinVariant.h:263–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261/// @brief Determines if the variant passed is "empty"
262template <typename T>
263inline detail::enable_for_variants_t<T, bool> is_empty(T const &v) {
264 return (v.vt == VT_EMPTY);
265}
266
267/// @overload
268/// For wrapped variants. Also returns true if the wrapper itself is empty.

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected