Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/nodejs/deps/v8/include/cppgc/macros.h
$ cat -n /usr/include/nodejs/deps/v8/include/cppgc/macros.h 1 // Copyright 2020 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef INCLUDE_CPPGC_MACROS_H_ 6 #define INCLUDE_CPPGC_MACROS_H_ 7 8 #include
9 10 #include "cppgc/internal/compiler-specific.h" 11 12 namespace cppgc { 13 14 // Use if the object is only stack allocated. 15 #define CPPGC_STACK_ALLOCATED() \ 16 public: \ 17 using IsStackAllocatedTypeMarker CPPGC_UNUSED = int; \ 18 \ 19 private: \ 20 void* operator new(size_t) = delete; \ 21 void* operator new(size_t, void*) = delete; \ 22 static_assert(true, "Force semicolon.") 23 24 } // namespace cppgc 25 26 #endif // INCLUDE_CPPGC_MACROS_H_
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™