Something went wrong on our end
-
Jakub Klinkovský authored
getConstView should be always used for const operations, because explicit is better than implicit. Overloading one method for cases which have a completely different type (ConstViewType is *not* just a const-qualified ViewType) can be very unclear (or even ambiguous) in certain cases.
Jakub Klinkovský authoredgetConstView should be always used for const operations, because explicit is better than implicit. Overloading one method for cases which have a completely different type (ConstViewType is *not* just a const-qualified ViewType) can be very unclear (or even ambiguous) in certain cases.