diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2013-08-05 21:23:28 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2013-08-05 21:23:28 +0000 |
| commit | 0c37cfd8b87a21def1ae0b0fa9a09acf708ce97c (patch) | |
| tree | 0ddc0e2734071bbf54b74f6fc2b6ea6c9fa4fddb /libcxx/include/list | |
| parent | 6964f33fc91423a0ba3b648c7aad070eb6d610b9 (diff) | |
| download | bcm5719-llvm-0c37cfd8b87a21def1ae0b0fa9a09acf708ce97c.tar.gz bcm5719-llvm-0c37cfd8b87a21def1ae0b0fa9a09acf708ce97c.zip | |
Implement NULL iterators for <list> re: N3644
llvm-svn: 187740
Diffstat (limited to 'libcxx/include/list')
| -rw-r--r-- | libcxx/include/list | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/list b/libcxx/include/list index 4041b88d6b1..4b1272a8ea4 100644 --- a/libcxx/include/list +++ b/libcxx/include/list @@ -273,7 +273,7 @@ public: typedef typename pointer_traits<pointer>::difference_type difference_type; _LIBCPP_INLINE_VISIBILITY - __list_iterator() _NOEXCEPT + __list_iterator() _NOEXCEPT : __ptr_(nullptr) { #if _LIBCPP_DEBUG_LEVEL >= 2 __get_db()->__insert_i(this); @@ -403,7 +403,7 @@ public: typedef typename pointer_traits<pointer>::difference_type difference_type; _LIBCPP_INLINE_VISIBILITY - __list_const_iterator() _NOEXCEPT + __list_const_iterator() _NOEXCEPT : __ptr_(nullptr) { #if _LIBCPP_DEBUG_LEVEL >= 2 __get_db()->__insert_i(this); |

