In C++ it is possible to bind a temporary to a const reference:
struct A {}; int main() { const A& a = A(); }
Is there any way to di
No, and if you need to do this, you're doing something else wrong.