Promote类用于表示输出数据类型为输入或属性指定的数据类型间的提升类型。
Promote(const std::initializer_list<const char *> &syms);
Promote(const Promote &other) = delete;
Promote &operator=(const Promote &other) = delete;
Promote(Promote &&other) noexcept;
Promote &operator=(Promote &&other) noexcept;
参数 |
输入/输出 |
说明 |
---|---|---|
syms |
参与提升的类型符号列表。 |
符号包括输入类型的符号或者属性指定的符号。 |
无。
无。
无。