I\'m currently using a library that uses code like
T& being_a_bad_boy()
{
return *reinterpret_cast(0);
}
to make a refere
I would expect that on most platforms, the compiler will convert all references into pointers. If that assumption is true, then this will be identical to just passing around a NULL pointer, which is fine as long as you never use it. The question, then is whether there are any compilers that handle references in some way other than just converting them to pointers. I don't know of any such compilers, but I suppose it's possible that they exist.