¡@

Home 

c++ Programming Glossary: wrappedint

Optimisation of division in gcc

http://stackoverflow.com/questions/1121791/optimisation-of-division-in-gcc

always uses idivl and runs slow #include iostream struct WrappedInt int v explicit WrappedInt const int val v val bool operator.. slow #include iostream struct WrappedInt int v explicit WrappedInt const int val v val bool operator const WrappedInt rhs const.. WrappedInt const int val v val bool operator const WrappedInt rhs const return v rhs.v bool operator const WrappedInt rhs..