MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / ~string

Function ~string

include/internal/CL/cl.hpp:639–643  ·  view source on GitHub ↗

\brief Destructor - frees memory used to hold the current value.

Source from the content-addressed store, hash-verified

637
638 //! \brief Destructor - frees memory used to hold the current value.
639 ~string()
640 {
641 delete[] str_;
642 str_ = NULL;
643 }
644
645 //! \brief Queries the length of the string, excluding any added '\0's.
646 ::size_t size(void) const { return size_; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected