79675612

Date: 2025-06-23 04:37:14
Score: 0.5
Natty:
Report link

Considering follow codes

template<typename T>
struct Rx {
    T* ipc;

    operator T*() const {
        return ipc;  // implicit conversion to T*
    }
};

struct IPC {
    void doSomething();
};

struct Bundle {
    Rx<IPC> rx1;
};

There are cases that is not easy to distinguish when you are using object of Rx or when you are using dereferencing of it

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Tin Luu