Hongtae Kim 8 anni fa
parent
commit
9d6280d3f7
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      TestApp1/dkgl_new.cpp

+ 5
- 0
TestApp1/dkgl_new.cpp Vedi File

33
 	return ::operator new(size);
33
 	return ::operator new(size);
34
 }
34
 }
35
 
35
 
36
+void* operator new[](size_t size, const std::nothrow_t& tag) noexcept
37
+{
38
+	return ::operator new(size, tag);
39
+}
40
+
36
 void operator delete (void* ptr) noexcept
41
 void operator delete (void* ptr) noexcept
37
 {
42
 {
38
 	if (ptr)
43
 	if (ptr)