Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
200ff599
Commit
200ff599
authored
Nov 20, 2019
by
Gennadiy Civil
Browse files
Merge pull request #2569 from bgianfo:master
PiperOrigin-RevId: 281321427
parents
4bf46623
0c469a5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
googletest/include/gtest/internal/gtest-internal.h
googletest/include/gtest/internal/gtest-internal.h
+3
-2
No files found.
googletest/include/gtest/internal/gtest-internal.h
View file @
200ff599
...
...
@@ -1185,7 +1185,7 @@ struct FlatTupleBase<FlatTuple<T...>, IndexSequence<Idx...>>
// Analog to std::tuple but with different tradeoffs.
// This class minimizes the template instantiation depth, thus allowing more
// elements tha
t
std::tuple would. std::tuple has been seen to require an
// elements tha
n
std::tuple would. std::tuple has been seen to require an
// instantiation depth of more than 10x the number of elements in some
// implementations.
// FlatTuple and ElemFromList are not recursive and have a fixed depth
...
...
@@ -1196,7 +1196,8 @@ template <typename... T>
class
FlatTuple
:
private
FlatTupleBase
<
FlatTuple
<
T
...
>
,
typename
MakeIndexSequence
<
sizeof
...(
T
)
>::
type
>
{
using
Indices
=
typename
FlatTuple
::
FlatTupleBase
::
Indices
;
using
Indices
=
typename
FlatTupleBase
<
FlatTuple
<
T
...
>
,
typename
MakeIndexSequence
<
sizeof
...(
T
)
>::
type
>::
Indices
;
public:
FlatTuple
()
=
default
;
...
...
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