Code::Blocks Forums
User forums => Help => Topic started by: Dert on August 07, 2014, 05:20:03 pm
-
Windows 7 64-bit
Latest MinGW installed using this guide (http://www.mingw.org/wiki/Getting_Started)
C::B svn 9854
C++11 CC is enabled and works
(here is confirmation:
(http://s24.postimg.org/b55qqbh6d/c_11_cc_enabled_confirm.png)
http://s24.postimg.org/b55qqbh6d/c_11_cc_enabled_confirm.png
)
Here's what i get when tried to use C++11's list-initialization (with "=" CC works, without - no):
(http://s8.postimg.org/n4dy10ovp/c_11_with_equal.png)(http://s8.postimg.org/hrp3mw0z9/c_11_without_equal.png)
http://s8.postimg.org/n4dy10ovp/c_11_with_equal.png http://s8.postimg.org/hrp3mw0z9/c_11_without_equal.png
So list-initialization currently isn't supported with CC? Is there any way to get it?
-
list<int> lst_1 {1, 2, 3};
lst_1. // <-- cc doesn't show any hint..
list<int> lst_2 = {1, 2, 3};
lst_2. // <- cc do work well ....
====
windows 10, mingw , c::b svn 10503
-
list<int> lst_1 {1, 2, 3};
lst_1. // <-- cc doesn't show any hint..
list<int> lst_2 = {1, 2, 3};
lst_2. // <- cc do work well ....
====
windows 10, mingw , c::b svn 10503
A known bug, I have add this post here: Code::Blocks / Tickets / #33 C++11 Initializer lists fool code completion (https://sourceforge.net/p/codeblocks/tickets/33/)
-
thanks!