- Visual Studio 2022 still not fit for purpose - 7 Updates
- Would this be a good idea? - 3 Updates
Bonita Montero <Bonita.Montero@gmail.com>: Mar 16 03:58AM +0100 Am 15.03.2023 um 19:53 schrieb Mr Flibble: > I decided to humour you for a few microseconds and compiled your code > (after fixing you omission of 'std' in the last `if constexpr`) and of > course I got the following result: I compiled it and it worked. |
Bonita Montero <Bonita.Montero@gmail.com>: Mar 16 03:59AM +0100 Am 15.03.2023 um 19:54 schrieb Mr Flibble: >> I remove the istantiations and MSVC compiled the code. >> So I'm right. > No, you are wrong: The last example I've given compiles with MSVC. |
Daniel <danielaparker@gmail.com>: Mar 16 10:18AM -0700 On Wednesday, March 15, 2023 at 2:54:52 PM UTC-4, Mr Flibble wrote: > No, you are wrong: > 1>C:\Users\leigh\source\repos\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.cpp(25,67): > error C2039: 'element_type': is not a member of 'foo' It compiles and runs for me with MSVC C++ 17 if I change struct foo{} to struct foo { using element_type = std::string; // requires element_type }; and ::is_abstract_v to std::is_abstract_v. I think Bonita is basically right. Best regards, Daniel |
Mr Flibble <flibble2@reddwarf.jmc.corp>: Mar 16 05:46PM On 16/03/2023 02:58, Bonita Montero wrote: >> (after fixing you omission of 'std' in the last `if constexpr`) and of >> course I got the following result: > I compiled it and it worked. I suggest you try again but this time use the version of MSVC that actually contains the regression, silly. /Flibble |
Mr Flibble <flibble2@reddwarf.jmc.corp>: Mar 16 05:46PM On 16/03/2023 02:59, Bonita Montero wrote: >>> So I'm right. >> No, you are wrong: > The last example I've given compiles with MSVC. I suggest you try again but this time use the version of MSVC that actually contains the regression, silly. /Flibble |
Mr Flibble <flibble2@reddwarf.jmc.corp>: Mar 16 05:47PM On 16/03/2023 17:18, Daniel wrote: > and ::is_abstract_v to std::is_abstract_v. I think Bonita is basically right. > Best regards, > Daniel I think you are basically as clueless as Bonita. /Flibble |
Daniel <danielaparker@gmail.com>: Mar 16 12:24PM -0700 On Thursday, March 16, 2023 at 1:47:51 PM UTC-4, Mr Flibble wrote: > > Daniel > I think you are basically as clueless as Bonita. > /Flibble Possibly :-) I have 17.5.2 installed rather than 17.5.1, but my understanding was there was no fix related to this issue in 17.5.2. Best regards, Daniel |
Muttley@dastardlyhq.com: Mar 16 09:01AM I was looking at some Go code last night and it has don't-care placeholders in range based loops. So I was wondering if something like this might be a good idea for C++ 23/26: vector<tuple<string,string,int>> v; : : for(auto [_,s2,_]: v) do something with s2 or for(auto &[_,s2,_]: v) .... or perhaps for(auto [,s2,]: v) ..... It would only be a small gain in efficiency but might be useful. |
Bo Persson <bo@bo-persson.se>: Mar 16 11:38AM +0100 > or perhaps > for(auto [,s2,]: v) ..... > It would only be a small gain in efficiency but might be useful. There is already a proposal for this: https://wg21.link/p2169 |
Muttley@dastardlyhq.com: Mar 16 03:32PM On Thu, 16 Mar 2023 11:38:20 +0100 >> It would only be a small gain in efficiency but might be useful. >There is already a proposal for this: >https://wg21.link/p2169 Excellent, lets hope it happens. |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment