Changed the thrown exception from invalid_argument to out_of_range
added 1 commit
Compare with previous version
merged
mentioned in commit 7d5af3e2