d02 ex02 operator < ok
This commit is contained in:
@@ -15,7 +15,14 @@ public:
|
||||
Fixed(int integer);
|
||||
Fixed(float const floater);
|
||||
|
||||
Fixed & operator=(Fixed const & rhs); // assignement operator
|
||||
Fixed & operator= (Fixed const & rhs); // assignement operator
|
||||
// Fixed operator+ (Fixed const & rhs) const;
|
||||
bool operator< (Fixed const & rhs) const;
|
||||
// Fixed operator> (Fixed const & rhs) const;
|
||||
// Fixed operator<=(Fixed const & rhs) const;
|
||||
// Fixed operator>=(Fixed const & rhs) const;
|
||||
// Fixed operator==(Fixed const & rhs) const;
|
||||
// Fixed operator!=(Fixed const & rhs) const;
|
||||
|
||||
int getRawBits(void) const;
|
||||
void setRawBits(int const raw);
|
||||
@@ -30,6 +37,6 @@ private:
|
||||
|
||||
};
|
||||
|
||||
std::ostream & operator<<(std::ostream & out, Fixed const & fixed);
|
||||
std::ostream & operator<<(std::ostream & o, Fixed const & rhs);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user