You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Brace-initializing a BitSet with a string results in a BitSet initialized to 1. This is because the initializer_list<T> ctor is preferred over the const std::string& one. The former ctor's type should be changed to initializer_list<bool> instead. Moreover, line 412 should ideally be commented out.
To Reproduce
Brace-initialize a BitSet with a std::string.
Expected behavior
BitSet contains a bit-for-bit representation of the contents of the "binary" std::string.
Toolchain (please complete the following information):
OS: Arch Linux
Compiler: Clang 13.0.0
Empirical Version: native-canvas branch
Additional context
This bug is only present in the native-canvas branch.
The text was updated successfully, but these errors were encountered:
Describe the bug
Brace-initializing a BitSet with a string results in a BitSet initialized to 1. This is because the
initializer_list<T>
ctor is preferred over theconst std::string&
one. The former ctor's type should be changed toinitializer_list<bool>
instead. Moreover, line 412 should ideally be commented out.To Reproduce
Brace-initialize a BitSet with a std::string.
Expected behavior
BitSet contains a bit-for-bit representation of the contents of the "binary" std::string.
Toolchain (please complete the following information):
native-canvas
branchAdditional context
This bug is only present in the
native-canvas
branch.The text was updated successfully, but these errors were encountered: