3 ms·
You edited before I got the chance to make a snarky reply :-) For the record, the following snippet will not compile because the deleted constructor will be mat
by quietbritishjim 5y ago
You edited before I got the chance to make a snarky reply :-) For the record, the following snippet will not compile because the deleted constructor will be matched during overload resolution.
class C {
public:
C(int) = delete;
C(long) {}
};
int main() {
C x(3);
}