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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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-common
Commits
06191c85
Commit
06191c85
authored
11 years ago
by
Christoph Grüninger
Browse files
Options
Downloads
Patches
Plain Diff
Slightly improve Doxygen documentation.
parent
5aae3fe9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/common/deprecated.hh
+11
-9
11 additions, 9 deletions
dune/common/deprecated.hh
dune/common/dotproduct.hh
+1
-0
1 addition, 0 deletions
dune/common/dotproduct.hh
with
12 additions
and
9 deletions
dune/common/deprecated.hh
+
11
−
9
View file @
06191c85
...
...
@@ -71,14 +71,15 @@
* \code
template<typename T> struct Class {
void frob() DUNE_DEPRECATED {}
};
};
// 1)
template<typename T> struct Class {
void DUNE_DEPRECATED frob() {}
};
};
// 2)
template<typename T> struct Class {
DUNE_DEPRECATED void frob() {}
};
};
// 3)
* \endcode
* With g++ only 2) emits a warning for templated member functions.
*/
#define DUNE_DEPRECATED
#else // defined(HAS_ATTRIBUTE_DEPRECATED)
...
...
@@ -154,15 +155,16 @@
* - Member functions
* \code
template<typename T> struct Class {
void frob() DUNE_DEPRECATED_MSG("frog
s() are beautiful from now on
") {}
};
void frob() DUNE_DEPRECATED_MSG("
use
frog") {}
};
// 1)
template<typename T> struct Class {
void DUNE_DEPRECATED_MSG("frog
s() are beautiful from now on
") frob() {}
};
void DUNE_DEPRECATED_MSG("
use
frog") frob() {}
};
// 2)
template<typename T> struct Class {
DUNE_DEPRECATED_MSG("frog
s() are beautiful from now on
") void frob() {}
};
DUNE_DEPRECATED_MSG("
use
frog") void frob() {}
};
// 3)
* \endcode
* With g++ only 2) emits a warning for templated member functions.
*/
#define DUNE_DEPRECATED_MSG(text) DUNE_DEPRECATED
#else // defined(HAS_ATTRIBUTE_DEPRECATED_MSG)
...
...
This diff is collapsed.
Click to expand it.
dune/common/dotproduct.hh
+
1
−
0
View file @
06191c85
...
...
@@ -35,6 +35,7 @@ namespace Dune {
/** @brief computes the dot product for fundamental data types according to Petsc's VectDot function: dot(a,b) := std::conj(a)*b
*
* @see http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecDot.html#VecDot
* @param a
* @param b
* @return conj(a)*b
*/
...
...
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