Timeline for Is C++11 Uniform Initialization a replacement for the old style syntax?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 19, 2019 at 20:42 | comment | added | Tim |
This is incorrect. There is no requirement to declare a constructor: struct X { int i; }; int main() { X x{42}; }. It is also incorrect, that uniform initialization can be faster than value initialization.
|
|
| Sep 26, 2016 at 21:08 | comment | added | jbcoe | Why do you say it can be faster? | |
| Feb 7, 2012 at 9:42 | history | migrated | from stackoverflow.com (revisions) | ||
| Feb 6, 2012 at 2:29 | history | answered | Gigi | CC BY-SA 3.0 |