/test/language/unclassified/aux_overload01.h

http://github.com/tybor/Liberty · C Header · 15 lines · 12 code · 3 blank · 0 comment · 0 complexity · b4811540a199d45d6da639984a1ef3b2 MD5 · raw file

  1. #ifndef __OVERLOAD__
  2. #define __OVERLOAD__
  3. class Overload
  4. {
  5. public:
  6. Overload(){}
  7. void value(int v){ internal_value = v; }
  8. int value(){ return internal_value; }
  9. private:
  10. int internal_value;
  11. };
  12. #endif