mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-05 01:34:12 +08:00
std_bitset.h (bitset<>::_M_copy_to_string): Call the internal _Unchecked_set(size_t) instead of set.
2006-01-26 Paolo Carlini <pcarlini@suse.de> * include/std/std_bitset.h (bitset<>::_M_copy_to_string): Call the internal _Unchecked_set(size_t) instead of set. From-SVN: r110285
This commit is contained in:
parent
9deb204a5a
commit
8fecd28c5a
@ -1,3 +1,8 @@
|
||||
2006-01-26 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/std/std_bitset.h (bitset<>::_M_copy_to_string):
|
||||
Call the internal _Unchecked_set(size_t) instead of set.
|
||||
|
||||
2006-01-26 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* docs/html/install.html ([Tools you will need beforehand]):
|
||||
|
@ -1,6 +1,7 @@
|
||||
// <bitset> -*- C++ -*-
|
||||
|
||||
// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -1157,7 +1158,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD)
|
||||
case '0':
|
||||
break;
|
||||
case '1':
|
||||
set(__i - 1);
|
||||
_Unchecked_set(__i - 1);
|
||||
break;
|
||||
default:
|
||||
__throw_invalid_argument(__N("bitset::_M_copy_from_string"));
|
||||
|
Loading…
Reference in New Issue
Block a user