greenplumn CHeapObject 源码
greenplumn CHeapObject 代码
文件路径:/src/backend/gporca/libgpos/include/gpos/common/CHeapObject.h
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2011 EMC Corp.
//
// @filename:
// CHeapObject.h
//
// @doc:
// Class of all objects that must reside on the heap;
//---------------------------------------------------------------------------
#ifndef GPOS_CHeapObject_H
#define GPOS_CHeapObject_H
#include "gpos/types.h"
namespace gpos
{
//---------------------------------------------------------------------------
// @class:
// CHeapObject
//
// @doc:
// Constructor tests stack layout to ensure object is not allocated on stack;
// constructor is protected to prevent direct instantiation of class;
//
//---------------------------------------------------------------------------
class CHeapObject
{
protected:
CHeapObject();
};
} // namespace gpos
#endif // !GPOS_CHeapObject_H
// EOF
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦