Created on 2016-05-04.00:00:00 last changed 80 months ago
Notes from the December, 2016 teleconference:
This issue should be resolved by the resolution of issue 2174.
The instantiation of default arguments for friends defined in a templated entity is not covered by 13.7.1 [temp.decls.general] paragraph 3 or 13.9.2 [temp.inst] paragraph 2. Consider:
template <typename T> struct A { friend void foo(A &&, int = T::happy) { } }; int main(void) { foo(A<int>(), 0); }
There is implementation divergence in the treatment of this example.
History | |||
---|---|---|---|
Date | User | Action | Args |
2018-04-11 00:00:00 | admin | set | status: open -> drafting |
2017-02-06 00:00:00 | admin | set | messages: + msg5840 |
2016-05-04 00:00:00 | admin | create |