Timeline for Why would one overload the && and & operator?
Current License: CC BY-SA 2.5
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 14, 2012 at 0:24 | review | Low quality posts | |||
Aug 22, 2012 at 6:38 | |||||
Mar 6, 2011 at 14:59 | comment | added | user2528 | I dont understand, why would you use frame1 '&' or '&&' frame2? what is it suppose to do? | |
Mar 6, 2011 at 14:03 | comment | added | Ankur Chauhan | The above example of sets is one. I work with a lot of signal video manipulation and dealing with that data is much easier if you follow OOD and overload these operators while doing encoding/decoding operations. eg: frame1 & frame2 or frame1 && frame2 for comparison etc. | |
Mar 6, 2011 at 11:40 | comment | added | user2528 | Can you give me an example? this is what interest me. | |
Mar 6, 2011 at 11:29 | history | answered | Ankur Chauhan | CC BY-SA 2.5 |