¡@

Home 

c++ Programming Glossary: worksfine

Function with parameter type that has a copy-constructor with non-const ref chosen?

http://stackoverflow.com/questions/4704567/function-with-parameter-type-that-has-a-copy-constructor-with-non-const-ref-chos

to int operator int return 0 void f int void f Test struct WorksFine struct Slurper Slurper WorksFine struct Eater Eater WorksFine.. f int void f Test struct WorksFine struct Slurper Slurper WorksFine struct Eater Eater WorksFine void g Slurper void g Eater chooses.. struct Slurper Slurper WorksFine struct Eater Eater WorksFine void g Slurper void g Eater chooses this as expected int main..