|
|
@ -1,10 +1,14 @@ |
|
|
|
|
|
|
|
// Copyright (c) 2009-2014 The Bitcoin developers
|
|
|
|
|
|
|
|
// Distributed under the MIT/X11 software license, see the accompanying
|
|
|
|
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
|
|
|
|
#include <cstddef> |
|
|
|
#include <cstddef> |
|
|
|
#include <istream> |
|
|
|
#include <istream> |
|
|
|
#include <stdexcept> |
|
|
|
#include <stdexcept> |
|
|
|
#include <typeinfo> |
|
|
|
#include <typeinfo> |
|
|
|
|
|
|
|
|
|
|
|
#ifndef _GLIBCXX_USE_NOEXCEPT |
|
|
|
#ifndef _GLIBCXX_USE_NOEXCEPT |
|
|
|
#define _GLIBCXX_USE_NOEXCEPT throw() |
|
|
|
#define _GLIBCXX_USE_NOEXCEPT throw() |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
namespace std { |
|
|
|
namespace std { |
|
|
@ -35,6 +39,7 @@ struct _List_node_base |
|
|
|
__position->_M_prev->_M_next = this; |
|
|
|
__position->_M_prev->_M_next = this; |
|
|
|
__position->_M_prev = this; |
|
|
|
__position->_M_prev = this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void _M_unhook() __attribute__((used)) |
|
|
|
void _M_unhook() __attribute__((used)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
_List_node_base* const __next_node = _M_next; |
|
|
|
_List_node_base* const __next_node = _M_next; |
|
|
@ -42,6 +47,7 @@ struct _List_node_base |
|
|
|
__prev_node->_M_next = __next_node; |
|
|
|
__prev_node->_M_next = __next_node; |
|
|
|
__next_node->_M_prev = __prev_node; |
|
|
|
__next_node->_M_prev = __prev_node; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
_List_node_base* _M_next; |
|
|
|
_List_node_base* _M_next; |
|
|
|
_List_node_base* _M_prev; |
|
|
|
_List_node_base* _M_prev; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -61,8 +67,8 @@ out_of_range::~out_of_range() _GLIBCXX_USE_NOEXCEPT { } |
|
|
|
// Used with permission.
|
|
|
|
// Used with permission.
|
|
|
|
// See: https://github.com/madlib/madlib/commit/c3db418c0d34d6813608f2137fef1012ce03043d
|
|
|
|
// See: https://github.com/madlib/madlib/commit/c3db418c0d34d6813608f2137fef1012ce03043d
|
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
void ctype<char>::_M_widen_init() const |
|
|
|
ctype<char>::_M_widen_init() const { |
|
|
|
{ |
|
|
|
char __tmp[sizeof(_M_widen)]; |
|
|
|
char __tmp[sizeof(_M_widen)]; |
|
|
|
for (unsigned __i = 0; __i < sizeof(_M_widen); ++__i) |
|
|
|
for (unsigned __i = 0; __i < sizeof(_M_widen); ++__i) |
|
|
|
__tmp[__i] = __i; |
|
|
|
__tmp[__i] = __i; |
|
|
|