int* a, b;
int *a, b;
// <type>:= <identifier1>, <identifier2>, ...;
// so I can write
int*:= a, b;
// or
int*:= a = nullptr, b = &a;
// the following won't compile:
int*:= *a, b;
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/62e66de4-7c7a-4e1c-8343-b173b49cb594%40isocpp.org.
On 3 April 2017 at 17:45, <hun.nem...@gmail.com> wrote:
> Hi,
>
>
> I took part in so many syntax debates over the years on preferred variable
> declaration syntax.
>
> One of the neuralgic point of variable declaration syntax is the pointer and
> reference alignment style.
>
> The root problem is the following:
>
> int* a, b;
>
> This declares a pointer and an int which is confusing. So a common coding
> style to avoid this error is aligning pointer to variables:
>
> int *a, b;
>
> Which is also confusing sometimes as some type parts are separated from the
> "main" type.
If either of those is confusing, then separate the declarations with a
semicolon and if you prefer, with a linefeed.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/c61fc6d5-ceca-454c-9fe1-97091fca4b26%40isocpp.org.
On 3 April 2017 at 18:27, <hun.nem...@gmail.com> wrote:
> Nowadays we have tool like clang refactoring tool. With the help of a tool
> you can mechanically transform your code base.
No I can't, since my code must work on older compilers, and I have no
time to spend on pointless
changes that add nothing to the code.
> Implementing this new syntax in compilers isn't really a huge task.
I'm sure you've done it for gcc, clang and msvc already, not to
mention every non-compiler tool
that parses C++. Where are your patches? Never mind, don't tell me, I
don't want them.
From: hun.nem...@gmail.com Sent: Monday, April 3, 2017 11:41 AM To: ISO C++ Standard - Future Proposals Reply To: std-pr...@isocpp.org Subject: Re: [std-proposals] Improved variable declaration syntax |
1. Useint * a;The * is important - make it clearly visible. As a bonus, both other 'religions' seem to accept/tolerate it.
int * a, b;
int* := a, b;
2. Give up on coding styles (within reason). I know this is heretical, but I've instead just learned to be comfortable in various styles.
And without changing the language you can do:
int* a; int* b;
And not have any problems.
long_namespace::big_special_matrix<SoBigNumber>* := x, y, z, a, b, c;
long_namespace::big_special_matrix<SoBigNumber>* x; long_namespace::big_special_matrix<SoBigNumber>* y; long_namespace::big_special_matrix<SoBigNumber>* z; ...
Yes, you could do
using matrix = long_namespace::big_special_matrix<SoBigNumber>;
to make the declarations shorter.
matrix* x;
matrix* y;
matrix* z;
will confuse no one.
struct A {
using matrix = long_namespace::big_special_matrix<SoBigNumber>;
matrix* x;
matrix* y;
matrix* z;
};
struct A {
long_namespace::big_special_matrix<SoBigNumber>* := x, y, z;
};
I don't believe that this comes up often enough for it to matter. I for one have never had to declare variables like that.
You're asking for a change to the language. Language changes should offer significant benefit. And thus far, the benefit just doesn't seem to come up often enough to be worthy of such a change.
int* a;
int *a, *b;
unknown_type * function();
I proposed to deprecate the "old" syntax. Now you can't pick up a winning coding style.
How it helps in teaching? Now we tell colleges: follow the coding style whatever is in a file.I want to tell them: variable declaration is the new style. Period.
On 3 April 2017 at 21:48, <hun.nem...@gmail.com> wrote:
> I proposed to deprecate the "old" syntax. Now you can't pick up a winning
> coding style.
That's not removing it from the language.
> Deprecating that syntax will result in a unified syntax.
No it won't. The attempt at deprecation will fail, for good reasons.
> I want to tell them: variable declaration is the new style. Period.
There's no way to get where you want to go in C++.
On Monday, April 3, 2017 at 8:52:22 PM UTC+2, Ville Voutilainen wrote:On 3 April 2017 at 21:48, <hun.nem...@gmail.com> wrote:
> I proposed to deprecate the "old" syntax. Now you can't pick up a winning
> coding style.
That's not removing it from the language.
> Deprecating that syntax will result in a unified syntax.
No it won't. The attempt at deprecation will fail, for good reasons.I doubt. The only reason for the split type style is to able to declare more then one variable in a line. Enabling a new syntax for this the "split type style" (int *a) will be meaningless.Deprecating old syntax will encourage the using of the new syntax
and you can create auto converter for you code base.
> I want to tell them: variable declaration is the new style. Period.
There's no way to get where you want to go in C++.I see the problem.If I have a large code base of "int *a" I don't want to change.If I have a large code base of "int* a" I don't want to change.
What I see now is a constant merge conflict generator as I have many library in both style.The current status quo is not ideal either.
On Monday, April 3, 2017 at 2:48:12 PM UTC-4, hun.nem...@gmail.com wrote:I proposed to deprecate the "old" syntax. Now you can't pick up a winning coding style.
Except that you can, because "deprecate" doesn't mean the same thing as "remove". `std::auto_ptr` is still in C++11 and 14. It will only be unavailable when C++17 hits which removes it.
So long as it is available, people will continue to use it. It will not magically go away, nor will your conversion tool be widely used to make it go away. So even if you deprecated standard variable declaration syntax, you would never be able to remove it.
And of course, you have to get the C committee to accept it too; otherwise you will have created an incompatibility between the two languages, for little benefit.
extern "C" {}
How it helps in teaching? Now we tell colleges: follow the coding style whatever is in a file.I want to tell them: variable declaration is the new style. Period.This is not a significant enough benefit to be worth the hassle of adding another language feature, not to mention the many years of both being available.
int* := a;
int*:=a;
int* :=a;
int*:= a;
With your style, is it :int* := a;int*:=a;int* :=a;int*:= a;
I see an endless merge conflit generator, but even more powerful than before, because there are more places to put a space :)
int* a;
int* b;
int *a, *b;
>> This is not a significant enough benefit to be worth the hassle of adding
>> another language feature, not to mention the many years of both being
>> available.
> I think we should consider it at least. Not the biggest problem but
I think we have wasted far more time on this non-starter than we should have.
--Peter
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/21619d57-cc94-49e5-b5eb-7f65d3d2ede0%40isocpp.org.
On 3 April 2017 at 22:19, <hun.nem...@gmail.com> wrote:
>> So long as it is available, people will continue to use it. It will not
>> magically go away, nor will your conversion tool be widely used to make it
>> go away. So even if you deprecated standard variable declaration syntax, you
>> would never be able to remove it.
> If you get deprecate warning it will encourage you to change.
If a valid variable or a function parameter declaration produces a
deprecation warning,
that will encourage users to tell their implementation vendors to
remove that deprecation
warning from their implementations and never bring it back.
--Peter
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/94ec7963-cf01-4bda-bb64-5d3ccd3d4109%40isocpp.org.
template <typename T>
using Type = T;
// Example usage
Type<int*> a, b, c, d;
--Peter
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/2d5b3a6a-050e-4bde-bbef-a60cc8111b3f%40isocpp.org.
The solution to "too many ways to declare a variable" is supposed to be "add more ways to declare a variable"?
Peter
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/94ec7963-cf01-4bda-bb64-5d3ccd3d4109%40isocpp.org.
And just as a general note: there are industries where changing the code, even (or maybe especially?) automatically is no-go, because, say, the code needs to be certified and any change to it (including this one!) requires recertification.To put it simply: your plan to deprecate-and-remove the current widely used syntax won't fly. It won't even be let to push back from the gate, much less allowed on a taxiway or a runway.
--Peter
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/22aca542-e245-4f90-88e8-6ba0b80e6a88%40isocpp.org.
You want to change the language because you and your co-workers are obsessed with having a single coding style and you can't agree on which one?Sorry, but I think your problem simply doesn't matter.
--Peter
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/88702ee5-f391-499e-a639-00608f4997d9%40isocpp.org.
Wow, two separate strawmans in such a short mail!The first "argument" isn't an argument, for multiple reasons:1) It's a hyperbole. You tried to impress us with a number, hoped we will be impressed by it, and hoped that we won't notice that you immediately admitted it's nonsense. This is irritating.2) Even if (1) wasn't true, you still aren't working with 100k other people on the same piece of code. You're divided into groups into subgroups into subgroups. And there'll always be someone in one of those subgroups that are responsible for a project or a dozen of those who will be able to make a decision everybody will have to honor. (By the way this is how you work in an environment with multiple people - you can't satistfy everyone, and democratically trying to do so is bound to waste gigantic amounts of time - just like this thread).And the second "argument" genuinely makes me angry, because multiple people tried to stop a unification I was trying to conduct because "you can't unify this in 3rd party libraries, why would you try it in our code?". This non-argument is much, much worse than the first one, because it hinders any attempts at making progress in your own code - "because 3rd party libraries!".
Wow, two separate strawmans in such a short mail!The first "argument" isn't an argument, for multiple reasons:1) It's a hyperbole. You tried to impress us with a number, hoped we will be impressed by it, and hoped that we won't notice that you immediately admitted it's nonsense. This is irritating.2) Even if (1) wasn't true, you still aren't working with 100k other people on the same piece of code. You're divided into groups into subgroups into subgroups. And there'll always be someone in one of those subgroups that are responsible for a project or a dozen of those who will be able to make a decision everybody will have to honor. (By the way this is how you work in an environment with multiple people - you can't satistfy everyone, and democratically trying to do so is bound to waste gigantic amounts of time - just like this thread).And the second "argument" genuinely makes me angry, because multiple people tried to stop a unification I was trying to conduct because "you can't unify this in 3rd party libraries, why would you try it in our code?". This non-argument is much, much worse than the first one, because it hinders any attempts at making progress in your own code - "because 3rd party libraries!".What I want to describe is the environment where I work. This is not a monolithic code base and there is more then one dedicated developer group... and sometimes not even a single company.And what I saw one of the biggest coding style fragmentation is the "int* a", "int *a". When I ask developers why they choose one or other the answer is that what I described in this thread.
They want to declare multiple variable in one line or they want a clear look on what the type is. My conclusion is that the current type declaration syntax is confusing enough to improve it.The current status quo is this two-head monster. One head is the "int *a" other is the "int* a". And I think both are weak and confusing.
Peter--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/e504a876-5791-4eec-a1b0-fb32475d20fc%40isocpp.org.
Why is "coding style fragmentation" such a big issue?
Since your company doesn't have a unified coding style, just follow the existing style of whatever file you're editing. And pick your own preferred style when adding a new source file. This is what everyone else does.
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/eb985b84-9bc9-4656-9dac-a6ac14303fc1%40isocpp.org.
void foo(int *p, const int& r); // where do you stick the * and the & ?
I took part in so many syntax debates over the years on preferred variable declaration syntax.One of the neuralgic point of variable declaration syntax is the pointer and reference alignment style.The root problem is the following:
int* a, b;This declares a pointer and an int which is confusing. So a common coding style to avoid this error is aligning pointer to variables:
int *a, b;Which is also confusing sometimes as some type parts are separated from the "main" type.
struct SomeGraph {
Node* top;
Node* posX;
Node* posY;
Node* posZ;
...
};
Yes, you could do
using matrix = long_namespace::big_special_matrix<SoBigNumber>;
to make the declarations shorter.
matrix* x;
matrix* y;
matrix* z;
will confuse no one.In this case you have to force developers to to create an abbreviation for every long typename during variable declaration.And you have to declare what is long. And again you have to copy paste that type again and again.
struct A {
using matrix = long_namespace::big_special_matrix<SoBigNumber>;
matrix* x;
matrix* y;
matrix* z;
};
vs.
struct A {
long_namespace::big_special_matrix<SoBigNumber>* := x, y, z;
};
struct A {
using matrixPtr = long_namespace::big_special_matrix<SoBigNumber>*;
matrixPtr x, y, z;
}
The "int* a" coding style mostly comes with a "declare one variable per line" rule to avoid the following cases: "int* a, b"This solution breaks that rule
and also introduce an other identifier just to declare some variables.There isn't a clean way to declare multiple pointer or reference in one line. There are two competing method and both are bad in some way.
And this dual style itself cause bugs, debates and errors. That is the reason behind this proposal.
On Tuesday, April 4, 2017 at 12:11:10 PM UTC-4, hun.nem...@gmail.com wrote:The "int* a" coding style mostly comes with a "declare one variable per line" rule to avoid the following cases: "int* a, b"This solution breaks that ruleYou said you wanted to declare them all on one line to avoid repeating the type. This does that. You can't say on one hand "I want to declare all the variables on one line to avoid repeating the type" and then on the other hand "you can't do that because it breaks the rule of declaring only one variable per line". If you were going to only declare one variable per line, then there would be no need for your proposal.
and also introduce an other identifier just to declare some variables.There isn't a clean way to declare multiple pointer or reference in one line. There are two competing method and both are bad in some way.And this dual style itself cause bugs, debates and errors. That is the reason behind this proposal.Yes, and "this proposal" of introducing another syntax for declaring variables is also "bad in some way" as has been pointed out several times. The other suggested proposals in this thread can be done today. Probably the best one is the one that just adds `Type<>` around the `int *`.
On Tuesday, April 4, 2017 at 7:21:41 PM UTC+2, Greg Marr wrote:On Tuesday, April 4, 2017 at 12:11:10 PM UTC-4, hun.nem...@gmail.com wrote:The "int* a" coding style mostly comes with a "declare one variable per line" rule to avoid the following cases: "int* a, b"This solution breaks that ruleYou said you wanted to declare them all on one line to avoid repeating the type. This does that. You can't say on one hand "I want to declare all the variables on one line to avoid repeating the type" and then on the other hand "you can't do that because it breaks the rule of declaring only one variable per line". If you were going to only declare one variable per line, then there would be no need for your proposal.It is not just me. This is not my problem. I know the two solution. And I understand why developers choose one or other method. Developers want declare variables in a common form easily. They want declare multiple variable or members in one line. They don't want to think on helper identifiers just to declare variables and members. This is the reason for the "int *a, *b;" style. On the other hand this style is confusing as the type is separated. There is a main part and a pointer or reference part. So there is an other style which keeps the type together. This is the "int* a; int* b;" style. They have to declare every variable in new line in other words they have to repeat the type part always.So there is no good solution. Your idea is to declare a common short name for every reference or pointer type is just uncomfortable.
and also introduce an other identifier just to declare some variables.There isn't a clean way to declare multiple pointer or reference in one line. There are two competing method and both are bad in some way.And this dual style itself cause bugs, debates and errors. That is the reason behind this proposal.Yes, and "this proposal" of introducing another syntax for declaring variables is also "bad in some way" as has been pointed out several times. The other suggested proposals in this thread can be done today. Probably the best one is the one that just adds `Type<>` around the `int *`.The current situation is that there is no good choice so we have two half solution. My proposal is to create a good one and deprecate the two half solution.I can imagine that force using the Type<> template usage for every variable declaration will slow down the compilation
and I am not sure it will break the binary compatibility or not.
I think we need a dedicated language feature for straightforward variable declaration.
and also introduce an other identifier just to declare some variables.There isn't a clean way to declare multiple pointer or reference in one line. There are two competing method and both are bad in some way.And this dual style itself cause bugs, debates and errors. That is the reason behind this proposal.Yes, and "this proposal" of introducing another syntax for declaring variables is also "bad in some way" as has been pointed out several times. The other suggested proposals in this thread can be done today. Probably the best one is the one that just adds `Type<>` around the `int *`.The current situation is that there is no good choice so we have two half solution. My proposal is to create a good one and deprecate the two half solution.
I can imagine that force using the Type<> template usage for every variable declaration will slow down the compilation and I am not sure it will break the binary compatibility or not. I think we need a dedicated language feature for straightforward variable declaration. But I will play with this idea.Peter
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/c3647444-d0e4-4aa6-b53b-e00e91bee70f%40isocpp.org.
It is not just me. This is not my problem.
So let me make sure I have this right. You want to change the C++ language, deprecating literally every existing C++ program, all so that things are a little more "comfortable" for you. Not because the language is broken. Not because the language is lacking in some genuinely useful feature. But simply because the solution to your problem that currently exists is not entirely ideal.
We are not going to deprecate basic syntax of a 30+ year old language simply because it's slightly inconvenient. You have a PEBKAC problem, so solve it BKAC.
The problem you cite is not a problem of significance. C++'s variable declaration syntax barely rises to the level of an annoyance. An annoyance that has a slightly verbose but perfectly adequate solution.
All you have to do is tell people that, if they're going to declare multiple pointer/reference variables on a single line, they must use the `Type<>` template. There: problem between keyboard and chair solved.
We should add language features so that people are better able to solve problems. Not because they can't be bothered to follow a convention or because you have some merge conflicts due to spaces.
and also introduce an other identifier just to declare some variables.There isn't a clean way to declare multiple pointer or reference in one line. There are two competing method and both are bad in some way.And this dual style itself cause bugs, debates and errors. That is the reason behind this proposal.Yes, and "this proposal" of introducing another syntax for declaring variables is also "bad in some way" as has been pointed out several times. The other suggested proposals in this thread can be done today. Probably the best one is the one that just adds `Type<>` around the `int *`.The current situation is that there is no good choice so we have two half solution. My proposal is to create a good one and deprecate the two half solution.I can imagine that force using the Type<> template usage for every variable declaration will slow down the compilation
Why would you force every variable declaration to use a tool that is only necessary for multiple variable declarations of pointer/reference types?
int *a;
int* a, b;
and I am not sure it will break the binary compatibility or not.
`Type<T>` is an alias. It is exactly identical to `T`. It cannot break compatibility with anything, any more than `using Alias = int; Alias i;` breaks compatibility with `int i;`.
I think we need a dedicated language feature for straightforward variable declaration.
No, we don't. C and C++ have managed to survive for decades without them.
// this was a valid syntax
void
error(message,a1,a2,a3,a4,a5,a6,a7)
char *message;
char *a1,*a2,*a3,*a4,*a5,*a6,*a7;
{
fprintf(stderr,message,a1,a2,a3,a4,a5,a6,a7);
}
I saw so many wasted hours where a developer rewrite a code part from one style to another
--Peter
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/eb985b84-9bc9-4656-9dac-a6ac14303fc1%40isocpp.org.
The current situation is that there is no good choice so we have two half solution. My proposal is to create a good one and deprecate the two half solution.You keep thinking this is possible. It'll be better for everyone's (including yours!) time management and sanity if you just trust us on how deprecation (1) is impossible and (2) even if it wasn't impossible, would never proceed to actual removal of the feature from the language.As others have pointed out before: just because it's deprecated will not make people convert their codebases into this new syntax.(And that assumes it ever gets past a plenary vote in WG21. Or to a plenary vote in WG21.)
I hope we can eliminate the "int* a" vs. "int *a" duality from the language in one way or another.
Peter--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/78dd8d28-3433-41e2-b57c-d561e03c4d03%40isocpp.org.
Actually, why not? If clang and gcc can warn about misleadingly indented if/else statements (Wmisleading-indentation) then they should be able to warn about misleading pointer/reference qualifiers in multiple variable declarations. It could be a nice feature request for someone to implement.
This is not about "slowness" - I don't care how long this takes not to be accepted (and I guarantee you this never even reaches plenary.)You assert on this being a good direction. It's not. If you disagree, please write a paper and come to EWG, though if you do I hope Ville cuts the discussion down to presentation and a "do we even eant to ever talk about this" up-down vote.
I hope we can eliminate the "int* a" vs. "int *a" duality from the language in one way or another.This "argument" is just noise, since it's trivial to unify this across a codebase with say clang-format.
This is not about "slowness" - I don't care how long this takes not to be accepted (and I guarantee you this never even reaches plenary.)You assert on this being a good direction. It's not. If you disagree, please write a paper and come to EWG, though if you do I hope Ville cuts the discussion down to presentation and a "do we even eant to ever talk about this" up-down vote.I think I wrote down the problem and I proposed a solution to it. I can't do more.
I hope we can eliminate the "int* a" vs. "int *a" duality from the language in one way or another.This "argument" is just noise, since it's trivial to unify this across a codebase with say clang-format.I think this aspect of the language is just annoying. Not a big bug not a show stopper it is just annoying. Sometimes cause headache for the code maintainers and developers. I think we can do it better.Peter
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/cdf7e64c-8728-4495-aa0f-9818bec965fd%40isocpp.org.
Let's be blunt: which part of "there's no chance in hell this ever passes EWG, not to even talk about getting voted on by the entire committee" do you not understand?
Perhaps you'll understand it better if you write an actual proposal and get rejected by EWG explicitly.
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/4fcbfa7b-f33f-452b-97cf-53847d179826%40isocpp.org.
I'm yet to see your paper formally proposed to the committee.
int* a, b;
int* a;
int* b;
int* a;
int b;
template<class T>
using var = T;
int* test()
{
double x, y, z;
var<int*> a, b;
...
}
struct A
{
var<Node*> first, last;
size_t size;
};
Let's be blunt: which part of "there's no chance in hell this ever passes EWG, not to even talk about getting voted on by the entire committee" do you not understand?
Perhaps you'll understand it better if you write an actual proposal and get rejected by EWG explicitly.
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/2ab9507a-8982-44f0-8daa-1b5504b5a4f0%40isocpp.org.
There's literally an entire section of the isocpp.org website dedicated to the process. https://isocpp.org/std.One would think you'd check that out before posting on isocpp's forums related to that particular process.
On Tuesday, April 4, 2017 at 10:48:58 PM UTC+2, Michał Dominiak wrote:There's literally an entire section of the isocpp.org website dedicated to the process. https://isocpp.org/std.One would think you'd check that out before posting on isocpp's forums related to that particular process.I read it some years ago so this list was in my bookmark. Maybe I should post this idea to ISO C++ Standard - Discussion first or something like that.
No, that forum is for discussion of the existing standard. This forum is for discussion of proposals for changes, so you found the right forum for your discussion. The next step in a change is writing up a formal proposal as described on the linked website. However, as various people have described, this type of change would be unlikely to even be considered.