compiler bugs, will they ever stop harassing me?
aka another reason to never use built-in arithmetic types.
@namark Are you sure it is a compiler bug? I am not sure whenever it actually is one or not tbf
@Archivist are you a gcc alt? stop gaslighting meeee >.<
otherwise, please elaborate, good sir, what is your objection? o.O
@namark nah, I am just accustomed at how confusing the standard is
@Archivist don't make me read the standard, I'll defect report :<
The basis for my questioning here is that primitive operators in C++ are not functions, so whenever they warrant implicit conversions or not with a behaviour similar to an actual function is questionable
I will actually investigate that a bit and tell you my findings
I confirm that this is a bug of GCC linked to templates. You can circumvent that bug using concepts in a portable fashions (see here: https://godbolt.org/z/PzT9eeTj4)
@Archivist *cough* I mean
template<typename T>
T operator+(T, One<T,1>);
and so on