View difference between Paste ID: 2cRbVtPD and nHnSycHM
SHOW: | | - or go back to the newest paste.
1-
// 1) 다음과 같이 글로벌 스페이스에서 전방선언을 하는 것 OK
1+
template <typename T>
2-
class UButton;
2+
class TypeName : public ParentTypeName
3
{ 
4-
UCLASS()
4+
	UE4_MACROS
5-
class T1PROJECT_API UGsUIWindowEnding : public UGsUIWindow
5+
	OTHER_MACROS
6-
{
6+
7-
	GENERATED_BODY()
7+
	friend class 선언
8-
	
8+
	using 타입 별칭 선언
9-
protected:
9+
10-
	UPROPERTY()	
10+
private:
11-
	class UButton* BtnOk;	// 2) 타입 앞에 전방선언 형식으로 사용해도 OK
11+
	_member 변수들 선언
12
13
public: 
14
	TypeName()
15
	~TypeName()
16
17
public: 
18
	static Variables
19
20
public: 
21
	virtual Functions()
22
23
public: 
24
	Logical Mutator Functions()
25
26
public: 
27
	Getter/Setter Functions()
28
}