Skip to content

Latest commit

 

History

History
42 lines (40 loc) · 1010 Bytes

File metadata and controls

42 lines (40 loc) · 1010 Bytes
title Initializer Lists | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
initializer lists
ms.assetid b3e53442-9809-4105-9226-ae845bd20cae
caps.latest.revision 4
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Initializer Lists

Initializer lists in constructors are now called before the base class constructor.

Remarks

Prior to Visual C++ 2005, the base class constructor was called before the initializer list when compiling with Managed Extensions for C++. Now, when compiling with /clr, the initializer list is called first.

See Also

General Language Changes (C++/CLI)