构造函数和初始化程序之间的区别

时间:2012-12-16 00:27:50

标签: c++

  

可能重复:
  Is there a difference in C++ between copy initialization and direct initialization?
  What's the difference between explicit and implicit assignment in C++

这很简单。有什么区别

std::string a("abc");

std::string a = "abc";

0 个答案:

没有答案