Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Timo Koch
dune-common
Commits
a50a9771
Commit
a50a9771
authored
19 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
improved documentation
[[Imported from SVN: r4012]]
parent
317579c0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/typetraits.hh
+11
-3
11 additions, 3 deletions
common/typetraits.hh
with
11 additions
and
3 deletions
common/typetraits.hh
+
11
−
3
View file @
a50a9771
...
...
@@ -195,7 +195,7 @@ namespace Dune
/**
* @brief Checks wether two types are interoperable.
*
* Two types are interoperable conversions in either directions
* Two types are interoperable
if
conversions in either directions
* exists.
*/
template
<
class
T1
,
class
T2
>
...
...
@@ -211,7 +211,11 @@ namespace Dune
};
};
/** \todo Please doc me! */
/**
* @brief Enable typedef if condition is met.
*
* Depending on the value of b the type T is provided as typedef type.
*/
template
<
bool
b
,
typename
T
=
void
>
struct
EnableIf
{
...
...
@@ -223,7 +227,11 @@ namespace Dune
struct
EnableIf
<
false
,
T
>
{};
/** \todo Please doc me! */
/**
* @brief Enable typedef if two types are interoperable.
*
* (also see IsInteroperable)
*/
template
<
class
T1
,
class
T2
,
class
Type
>
struct
EnableIfInterOperable
:
public
EnableIf
<
IsInteroperable
<
T1
,
T2
>::
value
,
Type
>
...
...
This diff is collapsed.
Click to expand it.
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