翻译一段英文
有英语好的大佬吗 if a type defines a constructor that takes an initializer_list<T>, then that constructor is always considered first when the initializer for the type is a braced-init-list. The other constructors will be considered only if the one taking the initializer_list is not viable. 意思就是说如果一个类型定义了一个有初始化列表变量的构造函数,当类型的初始化是遵循初始化列表时候,该构造函数首先被考虑。仅且当不遵循时候,其它构造函数才被考虑。 右下角常备“有道词典”{:10_256:}
页:
[1]