MCPcopy Create free account
hub / github.com/0voice/cpp_new_features / destroy

Function destroy

cpp_11/002_grammar_SFINAE.cpp:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18// enabled via a parameter
19template<class T>
20void destroy(T* t,
21 typename std::enable_if<std::is_trivially_destructible<T>::value>::type* = 0)
22{
23 std::cout << "destroying trivially destructible T\n";
24}
25
26// enabled via a template parameter
27template<class T,

Callers 15

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected