-
```cpp
void test(const int&); // 1
void test(volatile int&); // 2
struct X {
operator volatile int&() const;
};
void func(const X& x) {
test(x);
}
```
I don't believe `1` shoul…
-
gcc complains about ambiguous operator overloads. I suspect that this is a lookup bug since the rules haven't changed, but the same code compiles and runs fine on gcc 4.6.1. We can probably fix this b…
-
The file stream class has already been quite improved with #397 , but we can do more.
## `file_stream`
- [ ] Rename to `adiar::istream` and `adiar::levelized_istream` to better match *std*.
- […
-
Steep can't deal with arithmetic operators when both operands are union types of standard numbers.
This can easily be seen with code like this:
```ruby
class Test
def mul(value, other)
va…
-
What are the editors' views on the GSL user issue [Provide a "safe" and "simple" way for binary I/O · Issue #1104 · microsoft/GSL (github.com)](https://github.com/microsoft/GSL/issues/1104)?. The Micr…
-
| | |
|------------------|-----------------|
|Previous ID | SR-15074 |
|Radar | rdar://problem/81996354 |
|Original Repo…
-
String formatting overloads would make debugging easier when used in conjunction with `PrintT()`. I'm aware VSCode has a LLVM debugger, but the Toolbox does not... There might be other uses of which …
-
Quoting from [Avoiding classic pitfalls](https://github.com/tc39/proposal-operator-overloading#avoiding-classic-pitfalls-of-operator-overloading-and-readability)
> When one operand is an ordinary Obj…
-
I started the idea here: https://github.com/tc39/proposal-import-attributes/issues/68
But basically, what if there is some way to apply overload within a module (so as not to pollute all code with …
-
This caused me some grief with recent update to Xcode 11 GM. Somehow, Swift (5.1) started re-ordering some of DynamicColor's math expressions to use `+` and `-` overloads I had created to handle mixin…