Closed Ghabry closed 1 month ago
also cleaned up some compiler warnings (though this concrete weird C++ behaviour was not warned about -_-)
These promotion rules only apply for const references here, would be catched for non-const. This kind of magic is the reason we have explicit constructors since c++11....
explicit
also cleaned up some compiler warnings (though this concrete weird C++ behaviour was not warned about -_-)