cpp_method_overloading_support.h 148 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
class Base {
public:
    int foo(double a) {
        return (int) (a+0.5);
    }
    int foo(double* a) {
      return (int) (*a+0.5) - 1;
    }
};