MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / NoCopy

Class NoCopy

include/thundersvm/util/log.h:541–547  ·  view source on GitHub ↗

namespace type @brief Internal helper class that prevent copy constructor for class @detail When using this class simply inherit it privately

Source from the content-addressed store, hash-verified

539///
540/// @detail When using this class simply inherit it privately
541 class NoCopy {
542 protected:
543 NoCopy(void) {}
544 private:
545 NoCopy(const NoCopy&);
546 NoCopy& operator=(const NoCopy&);
547 };
548/// @brief Internal helper class that makes all default constructors private.
549///
550/// @detail This prevents initializing class making it static unless an explicit constructor is declared.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected