C++: reintroduce implicit casts to long, double, bool
commit01592a68d945c5aafea7a3e9e8aaeaa190732d98
authorAndy Arvanitis <andyarvanitis@gmail.com>
dateMon 12 Oct 2015, 14:30 (11 years ago)
parentc3bf147
pcc/include/purescript.hh+3−3
@@ -245,9 +245,9 @@ class any {
245245
246246 static auto call(const any& a) -> any;
247247
248− explicit operator long() const;
249− explicit operator double() const;
250− explicit operator bool() const;
248+ operator long() const;
249+ operator double() const;
250+ operator bool() const;
251251
252252 operator const string&() const;
253253 operator const map&() const;