I have built a simple composite control that consists of a textbox,
requiredfieldvalidator and rangevalidator.
For properties that are unique to the individual control, I set/get them
directly from the control as follows:
[Description("The text value"),
Bindable(true),
Browsable(true),
Category("TextBox"),
DefaultValue("")]
public string Text
{
get
{
EnsureChildControls();
return txt1.Text;
}
set
{
EnsureChildControls();
txt1.Text = value;
}
}
For properties that are common to more than one control or that I want to
additionally manipulate within the composite, I use private static variables
and then assign each control the variable's value before adding it to the
controls collection:
private static string _mstrValCssClass="";
[Description("CssClass to apply to validator portion of control"),
Browsable(true),
Category("Validators")]
public string ValCssClass
{
get
{
return _mstrValCssClass;
}
set
{
_mstrValCssClass = value;
}
}
This all seemed to work well when adding the composite dynamically or using
only one on a user control. My problem when I add two of the composites to a
user control in the designer. Using the above property as an example, if I
set the ValCssClass of mycomposite1 to myclass1 and set the ValCssClass of
mycomposite2 to myclass2, then the property also changes for mycomposite1
and viceversa. This only happens with the properties that utilize a static
variable, not the ones that are set per the first property example.
Can anyone explain this and possibly provide a solution?
TIA
--
Alphonse Giambrone
Email: a-giam at customdatasolutions dot us 9 1502
"Alphonse Giambrone" <NO**********@example.invalid> wrote in message
news:ec****************@tk2msftngp13.phx.gbl... I have built a simple composite control that consists of a textbox, requiredfieldvalidator and rangevalidator.
For properties that are unique to the individual control, I set/get them directly from the control as follows: [Description("The text value"), Bindable(true), Browsable(true), Category("TextBox"), DefaultValue("")] public string Text { get { EnsureChildControls(); return txt1.Text; }
set { EnsureChildControls(); txt1.Text = value; } }
For properties that are common to more than one control or that I want to additionally manipulate within the composite, I use private static
variables and then assign each control the variable's value before adding it to the controls collection:
private static string _mstrValCssClass="";
[Description("CssClass to apply to validator portion of control"), Browsable(true), Category("Validators")] public string ValCssClass { get { return _mstrValCssClass; } set { _mstrValCssClass = value; } }
This all seemed to work well when adding the composite dynamically or
using only one on a user control. My problem when I add two of the composites to
a user control in the designer. Using the above property as an example, if I set the ValCssClass of mycomposite1 to myclass1 and set the ValCssClass of mycomposite2 to myclass2, then the property also changes for mycomposite1 and viceversa. This only happens with the properties that utilize a static variable, not the ones that are set per the first property example.
Can anyone explain this and possibly provide a solution?
Yes. Don't use statics. "static" means it's a member of the class, not a
member of a class instance. Each time you drop your control on a page, you
get a new instance of the control, but all instances will share the same
static members.
So, "don't do that"!
--
John Saunders
johnwsaundersiii at hotmail
Thanks for the speedy reply and info John.
I don't recall just why I made the variables static, but removing the static
does solve the problem.
--
Alphonse Giambrone
Email: a-giam at customdatasolutions dot us
"John Saunders" <jo**************@notcoldmail.com> wrote in message
news:Of**************@tk2msftngp13.phx.gbl... "Alphonse Giambrone" <NO**********@example.invalid> wrote in message news:ec****************@tk2msftngp13.phx.gbl... I have built a simple composite control that consists of a textbox, requiredfieldvalidator and rangevalidator.
For properties that are unique to the individual control, I set/get them directly from the control as follows: [Description("The text value"), Bindable(true), Browsable(true), Category("TextBox"), DefaultValue("")] public string Text { get { EnsureChildControls(); return txt1.Text; }
set { EnsureChildControls(); txt1.Text = value; } }
For properties that are common to more than one control or that I want
to additionally manipulate within the composite, I use private static variables and then assign each control the variable's value before adding it to
the controls collection:
private static string _mstrValCssClass="";
[Description("CssClass to apply to validator portion of control"), Browsable(true), Category("Validators")] public string ValCssClass { get { return _mstrValCssClass; } set { _mstrValCssClass = value; } }
This all seemed to work well when adding the composite dynamically or using only one on a user control. My problem when I add two of the composites
to a user control in the designer. Using the above property as an example, if
I set the ValCssClass of mycomposite1 to myclass1 and set the ValCssClass
of mycomposite2 to myclass2, then the property also changes for
mycomposite1 and viceversa. This only happens with the properties that utilize a
static variable, not the ones that are set per the first property example.
Can anyone explain this and possibly provide a solution?
Yes. Don't use statics. "static" means it's a member of the class, not a member of a class instance. Each time you drop your control on a page, you get a new instance of the control, but all instances will share the same static members.
So, "don't do that"! -- John Saunders johnwsaundersiii at hotmail
can I use the same attributes [Description("The text value"),
etc... in VB.NET
SA
"John Saunders" <jo**************@notcoldmail.com> wrote in message
news:Of**************@tk2msftngp13.phx.gbl... "Alphonse Giambrone" <NO**********@example.invalid> wrote in message news:ec****************@tk2msftngp13.phx.gbl... I have built a simple composite control that consists of a textbox, requiredfieldvalidator and rangevalidator.
For properties that are unique to the individual control, I set/get them directly from the control as follows: [Description("The text value"), Bindable(true), Browsable(true), Category("TextBox"), DefaultValue("")] public string Text { get { EnsureChildControls(); return txt1.Text; }
set { EnsureChildControls(); txt1.Text = value; } }
For properties that are common to more than one control or that I want
to additionally manipulate within the composite, I use private static variables and then assign each control the variable's value before adding it to
the controls collection:
private static string _mstrValCssClass="";
[Description("CssClass to apply to validator portion of control"), Browsable(true), Category("Validators")] public string ValCssClass { get { return _mstrValCssClass; } set { _mstrValCssClass = value; } }
This all seemed to work well when adding the composite dynamically or using only one on a user control. My problem when I add two of the composites
to a user control in the designer. Using the above property as an example, if
I set the ValCssClass of mycomposite1 to myclass1 and set the ValCssClass
of mycomposite2 to myclass2, then the property also changes for
mycomposite1 and viceversa. This only happens with the properties that utilize a
static variable, not the ones that are set per the first property example.
Can anyone explain this and possibly provide a solution?
Yes. Don't use statics. "static" means it's a member of the class, not a member of a class instance. Each time you drop your control on a page, you get a new instance of the control, but all instances will share the same static members.
So, "don't do that"! -- John Saunders johnwsaundersiii at hotmail
Yes, you can, but the syntax is different. You need angle brackets instead
of square brackets:
<[Description("The text value")>
--
John Saunders
johnwsaundersiii at hotmail
"MS News (MS ILM)" <sq***********@hotmail.com> wrote in message
news:O$*************@tk2msftngp13.phx.gbl... can I use the same attributes [Description("The text value"), etc... in VB.NET
SA
"John Saunders" <jo**************@notcoldmail.com> wrote in message news:Of**************@tk2msftngp13.phx.gbl... "Alphonse Giambrone" <NO**********@example.invalid> wrote in message news:ec****************@tk2msftngp13.phx.gbl... I have built a simple composite control that consists of a textbox, requiredfieldvalidator and rangevalidator.
For properties that are unique to the individual control, I set/get
them directly from the control as follows: [Description("The text value"), Bindable(true), Browsable(true), Category("TextBox"), DefaultValue("")] public string Text { get { EnsureChildControls(); return txt1.Text; }
set { EnsureChildControls(); txt1.Text = value; } }
For properties that are common to more than one control or that I want to additionally manipulate within the composite, I use private static variables and then assign each control the variable's value before adding it to the controls collection:
private static string _mstrValCssClass="";
[Description("CssClass to apply to validator portion of control"), Browsable(true), Category("Validators")] public string ValCssClass { get { return _mstrValCssClass; } set { _mstrValCssClass = value; } }
This all seemed to work well when adding the composite dynamically or using only one on a user control. My problem when I add two of the
composites to a user control in the designer. Using the above property as an example,
if I set the ValCssClass of mycomposite1 to myclass1 and set the
ValCssClass of mycomposite2 to myclass2, then the property also changes for mycomposite1 and viceversa. This only happens with the properties that utilize a static variable, not the ones that are set per the first property example.
Can anyone explain this and possibly provide a solution?
Yes. Don't use statics. "static" means it's a member of the class, not a member of a class instance. Each time you drop your control on a page,
you get a new instance of the control, but all instances will share the same static members.
So, "don't do that"! -- John Saunders johnwsaundersiii at hotmail
Sorry, I meant:
<Description("The text value")>
--
John Saunders
johnwsaundersiii at hotmail
"MS News (MS ILM)" <sq***********@hotmail.com> wrote in message
news:O$*************@tk2msftngp13.phx.gbl... can I use the same attributes [Description("The text value"), etc... in VB.NET
SA
"John Saunders" <jo**************@notcoldmail.com> wrote in message news:Of**************@tk2msftngp13.phx.gbl... "Alphonse Giambrone" <NO**********@example.invalid> wrote in message news:ec****************@tk2msftngp13.phx.gbl... I have built a simple composite control that consists of a textbox, requiredfieldvalidator and rangevalidator.
For properties that are unique to the individual control, I set/get
them directly from the control as follows: [Description("The text value"), Bindable(true), Browsable(true), Category("TextBox"), DefaultValue("")] public string Text { get { EnsureChildControls(); return txt1.Text; }
set { EnsureChildControls(); txt1.Text = value; } }
For properties that are common to more than one control or that I want to additionally manipulate within the composite, I use private static variables and then assign each control the variable's value before adding it to the controls collection:
private static string _mstrValCssClass="";
[Description("CssClass to apply to validator portion of control"), Browsable(true), Category("Validators")] public string ValCssClass { get { return _mstrValCssClass; } set { _mstrValCssClass = value; } }
This all seemed to work well when adding the composite dynamically or using only one on a user control. My problem when I add two of the
composites to a user control in the designer. Using the above property as an example,
if I set the ValCssClass of mycomposite1 to myclass1 and set the
ValCssClass of mycomposite2 to myclass2, then the property also changes for mycomposite1 and viceversa. This only happens with the properties that utilize a static variable, not the ones that are set per the first property example.
Can anyone explain this and possibly provide a solution?
Yes. Don't use statics. "static" means it's a member of the class, not a member of a class instance. Each time you drop your control on a page,
you get a new instance of the control, but all instances will share the same static members.
So, "don't do that"! -- John Saunders johnwsaundersiii at hotmail
John,
I tried that but its telling me that Description is not defined ???
Am I missing an Import??
I checked and can not figure it out.
Thanks
"John Saunders" <jo**************@notcoldmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Sorry, I meant:
<Description("The text value")>
-- John Saunders johnwsaundersiii at hotmail
"MS News (MS ILM)" <sq***********@hotmail.com> wrote in message news:O$*************@tk2msftngp13.phx.gbl... can I use the same attributes [Description("The text value"), etc... in VB.NET
SA
"John Saunders" <jo**************@notcoldmail.com> wrote in message news:Of**************@tk2msftngp13.phx.gbl... "Alphonse Giambrone" <NO**********@example.invalid> wrote in message news:ec****************@tk2msftngp13.phx.gbl... > I have built a simple composite control that consists of a textbox, > requiredfieldvalidator and rangevalidator. > > For properties that are unique to the individual control, I set/get them > directly from the control as follows: > [Description("The text value"), > Bindable(true), > Browsable(true), > Category("TextBox"), > DefaultValue("")] > public string Text > { > get > { > EnsureChildControls(); > return txt1.Text; > } > > set > { > EnsureChildControls(); > txt1.Text = value; > } > } > > For properties that are common to more than one control or that I
want to > additionally manipulate within the composite, I use private static variables > and then assign each control the variable's value before adding it
to the > controls collection: > > private static string _mstrValCssClass=""; > > [Description("CssClass to apply to validator portion of control"),
> Browsable(true), > Category("Validators")] > public string ValCssClass > { > get > { > return _mstrValCssClass; > } > set > { > _mstrValCssClass = value; > } > } > > This all seemed to work well when adding the composite dynamically
or using > only one on a user control. My problem when I add two of the
composites to a > user control in the designer. Using the above property as an
example, if I > set the ValCssClass of mycomposite1 to myclass1 and set the ValCssClass of > mycomposite2 to myclass2, then the property also changes for mycomposite1 > and viceversa. This only happens with the properties that utilize a static > variable, not the ones that are set per the first property example. > > Can anyone explain this and possibly provide a solution?
Yes. Don't use statics. "static" means it's a member of the class, not
a member of a class instance. Each time you drop your control on a page,
you get a new instance of the control, but all instances will share the
same static members.
So, "don't do that"! -- John Saunders johnwsaundersiii at hotmail
Hi,
you need to have System.ComponentModel namespace imported
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist http://blogs.aspadvice.com/joteke
"MS News (MS ILM)" <sq***********@hotmail.com> wrote in message
news:uy**************@TK2MSFTNGP09.phx.gbl... John, I tried that but its telling me that Description is not defined ??? Am I missing an Import?? I checked and can not figure it out.
Thanks
"John Saunders" <jo**************@notcoldmail.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... Sorry, I meant:
<Description("The text value")>
-- John Saunders johnwsaundersiii at hotmail
"MS News (MS ILM)" <sq***********@hotmail.com> wrote in message news:O$*************@tk2msftngp13.phx.gbl... can I use the same attributes [Description("The text value"), etc... in VB.NET
SA
"John Saunders" <jo**************@notcoldmail.com> wrote in message news:Of**************@tk2msftngp13.phx.gbl... > "Alphonse Giambrone" <NO**********@example.invalid> wrote in message > news:ec****************@tk2msftngp13.phx.gbl... > > I have built a simple composite control that consists of a
textbox, > > requiredfieldvalidator and rangevalidator. > > > > For properties that are unique to the individual control, I
set/get them > > directly from the control as follows: > > [Description("The text value"), > > Bindable(true), > > Browsable(true), > > Category("TextBox"), > > DefaultValue("")] > > public string Text > > { > > get > > { > > EnsureChildControls(); > > return txt1.Text; > > } > > > > set > > { > > EnsureChildControls(); > > txt1.Text = value; > > } > > } > > > > For properties that are common to more than one control or that I want to > > additionally manipulate within the composite, I use private static > variables > > and then assign each control the variable's value before adding it to the > > controls collection: > > > > private static string _mstrValCssClass=""; > > > > [Description("CssClass to apply to validator portion of
control"), > Browsable(true), > > Category("Validators")] > > public string ValCssClass > > { > > get > > { > > return _mstrValCssClass; > > } > > set > > { > > _mstrValCssClass = value; > > } > > } > > > > This all seemed to work well when adding the composite dynamically or > using > > only one on a user control. My problem when I add two of the composites to > a > > user control in the designer. Using the above property as an example, if I > > set the ValCssClass of mycomposite1 to myclass1 and set the ValCssClass of > > mycomposite2 to myclass2, then the property also changes for mycomposite1 > > and viceversa. This only happens with the properties that utilize
a static > > variable, not the ones that are set per the first property
example. > > > > Can anyone explain this and possibly provide a solution? > > Yes. Don't use statics. "static" means it's a member of the class,
not a > member of a class instance. Each time you drop your control on a
page, you > get a new instance of the control, but all instances will share the
same > static members. > > So, "don't do that"! > -- > John Saunders > johnwsaundersiii at hotmail > >
Thank you Sir, will try it.
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:ea**************@tk2msftngp13.phx.gbl... Hi,
you need to have System.ComponentModel namespace imported
-- Teemu Keiski MCP, Microsoft MVP (ASP.NET), AspInsiders member ASP.NET Forum Moderator, AspAlliance Columnist http://blogs.aspadvice.com/joteke
"MS News (MS ILM)" <sq***********@hotmail.com> wrote in message news:uy**************@TK2MSFTNGP09.phx.gbl... John, I tried that but its telling me that Description is not defined ??? Am I missing an Import?? I checked and can not figure it out.
Thanks
"John Saunders" <jo**************@notcoldmail.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... Sorry, I meant:
<Description("The text value")>
-- John Saunders johnwsaundersiii at hotmail
"MS News (MS ILM)" <sq***********@hotmail.com> wrote in message news:O$*************@tk2msftngp13.phx.gbl... > can I use the same attributes [Description("The text value"), > etc... in VB.NET > > SA > > "John Saunders" <jo**************@notcoldmail.com> wrote in message > news:Of**************@tk2msftngp13.phx.gbl... > > "Alphonse Giambrone" <NO**********@example.invalid> wrote in
message > > news:ec****************@tk2msftngp13.phx.gbl... > > > I have built a simple composite control that consists of a textbox, > > > requiredfieldvalidator and rangevalidator. > > > > > > For properties that are unique to the individual control, I set/get them > > > directly from the control as follows: > > > [Description("The text value"), > > > Bindable(true), > > > Browsable(true), > > > Category("TextBox"), > > > DefaultValue("")] > > > public string Text > > > { > > > get > > > { > > > EnsureChildControls(); > > > return txt1.Text; > > > } > > > > > > set > > > { > > > EnsureChildControls(); > > > txt1.Text = value; > > > } > > > } > > > > > > For properties that are common to more than one control or that
I want > to > > > additionally manipulate within the composite, I use private
static > > variables > > > and then assign each control the variable's value before adding
it to > the > > > controls collection: > > > > > > private static string _mstrValCssClass=""; > > > > > > [Description("CssClass to apply to validator portion of control"), > > > Browsable(true), > > > Category("Validators")] > > > public string ValCssClass > > > { > > > get > > > { > > > return _mstrValCssClass; > > > } > > > set > > > { > > > _mstrValCssClass = value; > > > } > > > } > > > > > > This all seemed to work well when adding the composite
dynamically or > > using > > > only one on a user control. My problem when I add two of the composites > to > > a > > > user control in the designer. Using the above property as an example, if > I > > > set the ValCssClass of mycomposite1 to myclass1 and set the ValCssClass > of > > > mycomposite2 to myclass2, then the property also changes for > mycomposite1 > > > and viceversa. This only happens with the properties that
utilize a > static > > > variable, not the ones that are set per the first property example. > > > > > > Can anyone explain this and possibly provide a solution? > > > > Yes. Don't use statics. "static" means it's a member of the class, not a > > member of a class instance. Each time you drop your control on a page, you > > get a new instance of the control, but all instances will share
the same > > static members. > > > > So, "don't do that"! > > -- > > John Saunders > > johnwsaundersiii at hotmail > > > > > >
that was it thank you.
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:ea**************@tk2msftngp13.phx.gbl... Hi,
you need to have System.ComponentModel namespace imported
-- Teemu Keiski MCP, Microsoft MVP (ASP.NET), AspInsiders member ASP.NET Forum Moderator, AspAlliance Columnist http://blogs.aspadvice.com/joteke
"MS News (MS ILM)" <sq***********@hotmail.com> wrote in message news:uy**************@TK2MSFTNGP09.phx.gbl... John, I tried that but its telling me that Description is not defined ??? Am I missing an Import?? I checked and can not figure it out.
Thanks
"John Saunders" <jo**************@notcoldmail.com> wrote in message news:%2****************@tk2msftngp13.phx.gbl... Sorry, I meant:
<Description("The text value")>
-- John Saunders johnwsaundersiii at hotmail
"MS News (MS ILM)" <sq***********@hotmail.com> wrote in message news:O$*************@tk2msftngp13.phx.gbl... > can I use the same attributes [Description("The text value"), > etc... in VB.NET > > SA > > "John Saunders" <jo**************@notcoldmail.com> wrote in message > news:Of**************@tk2msftngp13.phx.gbl... > > "Alphonse Giambrone" <NO**********@example.invalid> wrote in
message > > news:ec****************@tk2msftngp13.phx.gbl... > > > I have built a simple composite control that consists of a textbox, > > > requiredfieldvalidator and rangevalidator. > > > > > > For properties that are unique to the individual control, I set/get them > > > directly from the control as follows: > > > [Description("The text value"), > > > Bindable(true), > > > Browsable(true), > > > Category("TextBox"), > > > DefaultValue("")] > > > public string Text > > > { > > > get > > > { > > > EnsureChildControls(); > > > return txt1.Text; > > > } > > > > > > set > > > { > > > EnsureChildControls(); > > > txt1.Text = value; > > > } > > > } > > > > > > For properties that are common to more than one control or that
I want > to > > > additionally manipulate within the composite, I use private
static > > variables > > > and then assign each control the variable's value before adding
it to > the > > > controls collection: > > > > > > private static string _mstrValCssClass=""; > > > > > > [Description("CssClass to apply to validator portion of control"), > > > Browsable(true), > > > Category("Validators")] > > > public string ValCssClass > > > { > > > get > > > { > > > return _mstrValCssClass; > > > } > > > set > > > { > > > _mstrValCssClass = value; > > > } > > > } > > > > > > This all seemed to work well when adding the composite
dynamically or > > using > > > only one on a user control. My problem when I add two of the composites > to > > a > > > user control in the designer. Using the above property as an example, if > I > > > set the ValCssClass of mycomposite1 to myclass1 and set the ValCssClass > of > > > mycomposite2 to myclass2, then the property also changes for > mycomposite1 > > > and viceversa. This only happens with the properties that
utilize a > static > > > variable, not the ones that are set per the first property example. > > > > > > Can anyone explain this and possibly provide a solution? > > > > Yes. Don't use statics. "static" means it's a member of the class, not a > > member of a class instance. Each time you drop your control on a page, you > > get a new instance of the control, but all instances will share
the same > > static members. > > > > So, "don't do that"! > > -- > > John Saunders > > johnwsaundersiii at hotmail > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: dx |
last post by:
I have the Microsoft Press: Developing Microsoft ASP.NET Server Controls and
Components book. It's starting to shine some light on control development
but there is something about composite...
|
by: Alex Nitulescu |
last post by:
Hi. Because I'm a beginner in creating controls, I spent more than two *&^#$
hours to create this "login" as a custom control and to make it work
properly:
...
|
by: Jeff |
last post by:
Hi -
I am developing a composite control using VB.NET.
In the ASP.NET page using the control, How can I update a label text value
to reflect the value of a property of the custom control...
|
by: cashdeskmac |
last post by:
I have created a composite control in C# which shows a DropDownList with 4
items and when one is selected a relevant message appears in a TextBox. This
works fine.
I then tried to recreate the...
|
by: Eric |
last post by:
I have created a fairly basic composite control consisting of a Label
and a TextBox. In the overridden Render function, I'm creating a
table with two rows and each row contains a cell (td). The...
|
by: berny.zamora |
last post by:
Hello everyone,
I have a composite control (lets call it the parent) that contains a
datalist. The datalist has an ItemTemplate that contains another
composite control (lets call it the child)....
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |