瀏覽代碼

Removed "explicit" keyword from primitive type operators

pcmattulat 4 年之前
父節點
當前提交
5e2ef7f7c9
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      source/boxing/Boolean.hpp
  2. 1 1
      source/boxing/Integer.hpp

+ 1 - 1
source/boxing/Boolean.hpp

@@ -23,7 +23,7 @@ namespace ls_std {
 
       // conversion operator
 
-      explicit operator bool() const;
+      operator bool() const;
 
       // assignment operators
 

+ 1 - 1
source/boxing/Integer.hpp

@@ -23,7 +23,7 @@ namespace ls_std {
 
       // conversion operator
 
-      explicit operator int() const;
+      operator int() const;
 
       // assignment operators