Pārlūkot izejas kodu

Added comment to Boolean class

- explaining why ^ operator can not be implemented
pcmattulat 4 gadi atpakaļ
vecāks
revīzija
84577a9d9c
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      source/boxing/Boolean.hpp

+ 1 - 0
source/boxing/Boolean.hpp

@@ -49,6 +49,7 @@ namespace ls_std {
       bool operator||(const Boolean& _boolean) const;
       bool operator||(bool _value) const;
       bool operator||(int _value) const;
+      // INFO: operator ^ can not be taken for XOR, since it's not possible to implement it respecting commutative law
 
       // implementation