Summary: Since I don't want to pay the cost when we access array elements. If I did, I would just use Java.
Test Plan: fbconfig folly/test/ && fbmake runtests
Reviewed By: andrei.alexandrescu@fb.com
FB internal diff:
D1158505
}
value_type& operator[](size_t i) {
- CHECK_GT(size(), i);
+ DCHECK_GT(size(), i);
return b_[i];
}
const value_type& operator[](size_t i) const {
- CHECK_GT(size(), i);
+ DCHECK_GT(size(), i);
return b_[i];
}