[過去ログ] 【UE4】Unreal Engine 4 初心者質問スレッド part3 [無断転載禁止]©2ch.net (1002レス)
前次1-
抽出解除 レス栞

このスレッドは過去ログ倉庫に格納されています。
次スレ検索 歴削→次スレ 栞削→次スレ 過去ログメニュー
438
(1): 2017/04/20(木)07:46 ID:Hr7RiUO+(1/5) AAS
>>435
TArray<int>をTArray<int*>にしてみたのですが、今度は
error : Inappropriate '*' on variable of type 'int', cannot have an exposed pointer to this type.
というエラーが出てしまいました。
int型にはポインター使えないってことがあるのかと思って、試しに別の型で試しても結果は同じでした。
さらにTArray<AActor*>とすると
error : Missing '*' in Expected a pointer type
省2
440
(1): 2017/04/20(木)09:50 ID:73u8RlA2(1/11) AAS
>>438
UE4はintじゃなくてint32というつっこみはあるとして、intをポインタで扱えないのはそう

>error : Inappropriate '*' on variable of type 'int', cannot have an exposed pointer to this type.
>error : Missing '*' in Expected a pointer type
"error C4430" のようなエラーコードでエラーで始まってないものはUE4のUBTが出している実装エラーなのだけど

// この場合はエラーは出ない
UPROPERTY( EditAnywhere, BlueprintReadWrite )
省16
前次1-
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 1.379s*