"auto* pObject = ...". The only benefit is that VS10 will auto-complete "." to "->" when specifying that it is a pointer. Unintuitively, it
The auto keyword is strange in VS10. If you type "auto pObject = GetPointer()" the type will be a pointer. No change when you change that to
-
-
-
doesn't make the type a pointer to a pointer. But typing "auto& pObject..." changes it to a reference to a pointer.
Keskustelun loppu
Uusi keskustelu -
-
-
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.