Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abseil-cpp
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
abseil-cpp
Commits
a705aa78
Unverified
Commit
a705aa78
authored
Oct 31, 2018
by
Xiaoyi Zhang
Committed by
GitHub
Oct 31, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #194 from Mizux/windows
absl::container Windows VS 15.8 (fix #192)
parents
a4c3ffff
26da89db
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
absl/container/internal/raw_hash_map.h
+5
-2
No files found.
absl/container/internal/raw_hash_map.h
View file @
a705aa78
...
...
@@ -39,11 +39,14 @@ class raw_hash_map : public raw_hash_set<Policy, Hash, Eq, Alloc> {
using
MappedConstReference
=
decltype
(
P
::
value
(
std
::
addressof
(
std
::
declval
<
typename
raw_hash_map
::
const_reference
>
())));
using
KeyArgImpl
=
container_internal
::
KeyArg
<
IsTransparent
<
Eq
>::
value
&&
IsTransparent
<
Hash
>::
value
>
;
public
:
using
key_type
=
typename
Policy
::
key_type
;
using
mapped_type
=
typename
Policy
::
mapped_type
;
template
<
typename
K
>
using
key_arg
=
typename
raw_hash_map
::
raw_hash_set
::
template
key_arg
<
K
>
;
template
<
class
K
>
using
key_arg
=
typename
KeyArgImpl
::
template
type
<
K
,
key_type
>
;
static_assert
(
!
std
::
is_reference
<
key_type
>::
value
,
""
);
// TODO(alkis): remove this assertion and verify that reference mapped_type is
...
...
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