fixed: allow implicit construction from integers
This commit is contained in:
parent
bb0271ab2b
commit
f688d8adda
@ -36,7 +36,7 @@ namespace util {
|
|||||||
public:
|
public:
|
||||||
explicit fixed(double);
|
explicit fixed(double);
|
||||||
explicit fixed(float);
|
explicit fixed(float);
|
||||||
explicit fixed(integral_type);
|
fixed(integral_type);
|
||||||
|
|
||||||
double to_double (void) const;
|
double to_double (void) const;
|
||||||
float to_float (void) const;
|
float to_float (void) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user