🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
TraitObject.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
25
AST_NAMESPACE_BEGIN
26
27
28
template
<
typename
Interface>
29
class
TraitObject
:
public
Interface
30
{
31
public
:
32
33
void
* data_;
34
};
35
36
37
template
<
typename
I,
typename
T>
38
class
ImplFor
39
{
40
// you need to impl the trial for the type
41
};
42
43
44
AST_NAMESPACE_END
45
ast::ImplFor
定义
TraitObject.hpp:39
ast::TraitObject
定义
TraitObject.hpp:30
src
AstCore
Trait
TraitObject.hpp
制作者
1.12.0