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
26da89db
Commit
26da89db
authored
Oct 17, 2018
by
Corentin Le Molgat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix absl::container on VS2017 v15.8 (#192)
parent
5b70a891
Hide 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 @
26da89db
...
...
@@ -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