Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
9933eb86
Commit
9933eb86
authored
May 13, 2015
by
Jonathan Wakely
Committed by
Jonathan Wakely
May 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* include/bits/random.h (seed_seq): More noexcept (LWG 2440).
From-SVN: r223155
parent
32e6a60e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
libstdc++-v3/ChangeLog
+2
-0
libstdc++-v3/include/bits/random.h
+2
-4
No files found.
libstdc++-v3/ChangeLog
View file @
9933eb86
2015-05-13 Jonathan Wakely <jwakely@redhat.com>
* include/bits/random.h (seed_seq): More noexcept (LWG 2440).
* include/bits/alloc_traits.h (_S_max_size): Implement LWG 2466.
* testsuite/20_util/allocator_traits/members/max_size.cc: Adjust.
* testsuite/23_containers/forward_list/allocator/minimal.cc:
...
...
libstdc++-v3/include/bits/random.h
View file @
9933eb86
...
...
@@ -6023,13 +6023,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
*/
class
seed_seq
{
public:
/** The type of the seed vales. */
typedef
uint_least32_t
result_type
;
/** Default constructor. */
seed_seq
()
seed_seq
()
noexcept
:
_M_v
()
{
}
...
...
@@ -6045,7 +6044,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
generate
(
_RandomAccessIterator
__begin
,
_RandomAccessIterator
__end
);
// property functions
size_t
size
()
const
size_t
size
()
const
noexcept
{
return
_M_v
.
size
();
}
template
<
typename
OutputIterator
>
...
...
@@ -6058,7 +6057,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
seed_seq
&
operator
=
(
const
seed_seq
&
)
=
delete
;
private:
///
std
::
vector
<
result_type
>
_M_v
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment