Gabriel Dos Reis

Results 31 comments of Gabriel Dos Reis

But how does it work concretely? I get the economy of not naming a tuple -- and for that, I wouls contend that tuple works just fine. But, once you...

Where is 't' coming from? When are two 't' different or equal? Where do the names members of 't' go? What do you mean by exactly the same rules, limitations?...

I read it. Actually, I have been quietly following the discussion until now. Unfortunately, I am not convinced by the anonymous struct. Yet. I like the named struct too. I...

Yes, something new is being proposed! The closest we have in existing language are anonymous unions. They are always distinct. -------- Original message -------- From: Michael Cook [email protected] Date: 1/18/2016...

And by the way, members of anonymous unions get promoted to the enclosing named or global scope. So, you are proposing something new. There is nothing wrong with proposing something...

They are given a name by the programmer -- that is why that restriction is there. That name is called "class-name for linkage purposes". It is no ordinary typedef name....

Lambda would come close, but see they have district name all the times, even if they look the same token-wise. So that is not like the rules proposed earlier. Furthermore,...

@NicolBolas I wish I could say I am surprised. Based on my experience looking at this over the years, I suspect that any solution to this will be a novelty,...

@hsutter > All we'd need is to give the struct a name that doesn't depend on the TU That in itself is a novetly. Even lambdas don't behave that way...

@galik @nadiasvertex My opinions about `std::tie` are well known. Hint: I am an entusiastic supporter of the simple version of structutured binding, which I think resolves (largely) the call for...