Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-istl
Commits
d1abd2df
Commit
d1abd2df
authored
6 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[multitypeblockvector] Inherit tuple constructors
parent
b9617cbc
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!241
MultiTypeBlockVector: Inherit tuple constructors
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/istl/multitypeblockvector.hh
+8
-3
8 additions, 3 deletions
dune/istl/multitypeblockvector.hh
with
8 additions
and
3 deletions
dune/istl/multitypeblockvector.hh
+
8
−
3
View file @
d1abd2df
...
...
@@ -55,9 +55,14 @@ namespace Dune {
:
public
std
::
tuple
<
Args
...
>
{
/** \brief Helper type */
typedef
std
::
tuple
<
Args
...
>
t
upleType
;
typedef
std
::
tuple
<
Args
...
>
T
upleType
;
public:
/**
* \brief Get the constructors from tuple
*/
using
TupleType
::
TupleType
;
/**
* own class' type
*/
...
...
@@ -105,7 +110,7 @@ namespace Dune {
* \endcode
*/
template
<
std
::
size_t
index
>
typename
std
::
tuple_element
<
index
,
t
upleType
>::
type
&
typename
std
::
tuple_element
<
index
,
T
upleType
>::
type
&
operator
[]
(
const
std
::
integral_constant
<
std
::
size_t
,
index
>
indexVariable
)
{
DUNE_UNUSED_PARAMETER
(
indexVariable
);
...
...
@@ -118,7 +123,7 @@ namespace Dune {
* explanation of how to use it.
*/
template
<
std
::
size_t
index
>
const
typename
std
::
tuple_element
<
index
,
t
upleType
>::
type
&
const
typename
std
::
tuple_element
<
index
,
T
upleType
>::
type
&
operator
[]
(
const
std
::
integral_constant
<
std
::
size_t
,
index
>
indexVariable
)
const
{
DUNE_UNUSED_PARAMETER
(
indexVariable
);
...
...
This diff is collapsed.
Click to expand it.
Kilian Weishaupt
@kilian.weishaupt
mentioned in merge request
!395 (merged)
·
4 years ago
mentioned in merge request
!395 (merged)
mentioned in merge request !395
Toggle commit list
Kilian Weishaupt
@kilian.weishaupt
mentioned in commit
6102bb12
·
3 years ago
mentioned in commit
6102bb12
mentioned in commit 6102bb12396a6cf2acbd617a300b8bb4879c32dc
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment