Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
11f441ce
Commit
11f441ce
authored
Aug 29, 2019
by
Bernd Flemisch
Browse files
[cleanup] deprecate intrange
It is possible to use Dune::IntegralRange instead.
parent
b0149d6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/common/intrange.hh
View file @
11f441ce
...
...
@@ -24,6 +24,8 @@
#ifndef DUMUX_INTEGER_RANGE_HH
#define DUMUX_INTEGER_RANGE_HH
#warning "This header is deprecated. Use Dune::IntegralRange instead."
#include
<cassert>
namespace
Dumux
{
...
...
@@ -35,7 +37,8 @@ namespace Dumux {
* for(auto i : IntRange(5, 8) { ... i = 5, 6, 7 }
* see: https://en.wikipedia.org/wiki/Generator_(computer_programming)
*/
class
IntRange
class
[[
deprecated
(
"Use Dune::IntegralRange instead. Will be removed after 3.1!"
)]]
IntRange
{
public:
// constructors
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment