c++ equivalent of Add ChildActorComponent

You mention that new actors cannot be spawned in the constructor, yet using the add child component node in blueprints ConstructionScript does spawn a child actor of the specified class and i can get a refference to that actor (which is what im trying to do) prior to launching the game.