[Bug c++/85647] gcc 5.4.0 always takes c++11 string

2018-05-04 Thread Sagar2.shah at citi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85647 --- Comment #2 from Sagar Shah --- thanks for your prompt response.

[Bug c++/85647] New: gcc 5.4.0 always takes c++11 string

2018-05-04 Thread Sagar2.shah at citi dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: Sagar2.shah at citi dot com Target Milestone: --- Please refer below sample program - $ cat string.cpp #include #include void foo(const std::string& arg) { std::cout << "foo [" << arg <&l

[Bug libstdc++/81017] Class with vector of unique_ptr and std::function does not compile

2017-06-08 Thread Sagar2.shah at citi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81017 --- Comment #5 from Sagar Shah --- (In reply to Jonathan Wakely from comment #4) > Yes, and the move assignment operator. cool.. thanks!

[Bug libstdc++/81017] Class with vector of unique_ptr and std::function does not compile

2017-06-08 Thread Sagar2.shah at citi dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81017 --- Comment #3 from Sagar Shah --- thanks for taking a look at this. Are we going to have noexcept added in the function move ctor.?

[Bug c++/81017] New: Class with vector of unique_ptr and std::function does not compile

2017-06-08 Thread Sagar2.shah at citi dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: Sagar2.shah at citi dot com Target Milestone: --- I have below code which does not compile with gcc 7.1.0 compiler. Though it compiles well with clang 4.0.0 #include #include