aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/ArithmeticSequence.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2017-01-10 10:31:07 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2017-01-10 10:31:07 +0100
commitacd08900c9992de386c7ded14a593b2ba0a0f20e (patch)
treeb0499770033bac25ee347a800cb95ff721681f13 /Eigen/src/Core/ArithmeticSequence.h
parent1df2377d78c30b87099fd38b2b78021dc28f6181 (diff)
Move 'last' and 'end' to their own namespace
Diffstat (limited to 'Eigen/src/Core/ArithmeticSequence.h')
-rw-r--r--Eigen/src/Core/ArithmeticSequence.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/src/Core/ArithmeticSequence.h b/Eigen/src/Core/ArithmeticSequence.h
index 6c9cb9ef3..88954b4a6 100644
--- a/Eigen/src/Core/ArithmeticSequence.h
+++ b/Eigen/src/Core/ArithmeticSequence.h
@@ -154,9 +154,13 @@ protected:
struct symb_last_tag {};
+namespace placeholders {
+
static const symbolic_value<symb_last_tag> last;
static const symbolic_add<symbolic_value<symb_last_tag>,symbolic_value_wrapper> end(last+1);
+} // end namespace placeholders
+
//--------------------------------------------------------------------------------
// integral constant
//--------------------------------------------------------------------------------