hnOsmium0001

Untitled

Jan 17th, 2021
55
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _NODISCARD const_reference operator[](size_type _Off) const noexcept /* strengthened */ {
  2. #if _CONTAINER_DEBUG_LEVEL > 0
  3. _STL_VERIFY(_Off < this->_Mysize, "vector<bool> subscript out of range");
  4. #endif // _CONTAINER_DEBUG_LEVEL > 0
  5.  
  6. const_iterator _It = begin();
  7. _It._Advance(_Off);
  8. return *_It;
  9. }
  10.  
  11. _NODISCARD reference operator[](size_type _Off) noexcept /* strengthened */ {
  12. #if _CONTAINER_DEBUG_LEVEL > 0
  13. _STL_VERIFY(_Off < this->_Mysize, "vector<bool> subscript out of range");
  14. #endif // _CONTAINER_DEBUG_LEVEL > 0
  15.  
  16. iterator _It = begin();
  17. _It._Advance(_Off);
  18. return *_It;
  19. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×