| ▲ | criddell an hour ago | |
Sometimes there are ways of getting runtime bounds checking. For example, both of these return the 3rd element of a std::vector: | ||
| ▲ | Mond_ 28 minutes ago | parent [-] | |
Yes, with the trade-off of essentially requiring exceptions, which are also banned in some codebases. | ||