How to spawn a Blueprint Actor in C++?

I did this:

TSubclassOf<class AWeapon*> InitialPistol;

But it gives these errors