We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0342ab commit 0b3655dCopy full SHA for 0b3655d
inst/include/cpp11/r_bool.hpp
@@ -28,7 +28,7 @@ class r_bool {
28
r_bool(Rboolean value) : value_(value) {}
29
r_bool(int value) : value_(from_int(value)) {}
30
31
- explicit operator bool() const { return value_ == TRUE; }
+ operator bool() const { return value_ == TRUE; }
32
operator int() const { return value_; }
33
operator Rboolean() const { return value_; }
34
0 commit comments