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