c++ Programming Glossary: loophole
Overloading operator<<: cannot bind lvalue to ?˜std::basic_ostream<char>&&??/a> http://stackoverflow.com/questions/10651161/overloading-operator-cannot-bind-lvalue-to-stdbasic-ostreamchar
Why is std::function not equality comparable? http://stackoverflow.com/questions/3629835/why-is-stdfunction-not-equality-comparable left undefined. Note the boolean like conversion opens a loophole whereby two function instances can be compared via or . These.. compared via or . These undefined void operators close the loophole and ensure a compile time error. ”end note My understanding of.. a compile time error. ”end note My understanding of the loophole is that if we have a bool conversion function that conversion..
|