v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
macros.h File Reference
#include <cstddef>
#include "cppgc/internal/compiler-specific.h"
Include dependency graph for macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cppgc
 

Concepts

concept  cppgc::IsStackAllocatedType
 

Macros

#define CPPGC_DISALLOW_NEW()
 
#define CPPGC_STACK_ALLOCATED()
 
#define CPPGC_STACK_ALLOCATED_IGNORE(bug_or_reason)
 
#define CPPGC_PLUGIN_IGNORE(bug_or_reason)
 

Macro Definition Documentation

◆ CPPGC_DISALLOW_NEW

#define CPPGC_DISALLOW_NEW ( )
Value:
public: \
using IsDisallowNewMarker CPPGC_UNUSED = int; \
void* operator new(size_t, void* location) { return location; } \
void* operator new(size_t) = delete; \
static_assert(true, "Force semicolon.")
#define CPPGC_UNUSED

Definition at line 14 of file macros.h.

◆ CPPGC_PLUGIN_IGNORE

#define CPPGC_PLUGIN_IGNORE ( bug_or_reason)

Definition at line 46 of file macros.h.

◆ CPPGC_STACK_ALLOCATED

#define CPPGC_STACK_ALLOCATED ( )
Value:
static_assert(true, "Force semicolon.")

Definition at line 44 of file macros.h.

◆ CPPGC_STACK_ALLOCATED_IGNORE

#define CPPGC_STACK_ALLOCATED_IGNORE ( bug_or_reason)

Definition at line 45 of file macros.h.