From a80bb237bb6bce9c649cf772caabc8658d3ee8a3 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 25 Feb 2016 15:20:37 -0600 Subject: [PATCH] More friendly example for msvc --- include/fit/repeat.hpp | 2 +- include/fit/repeat_while.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fit/repeat.hpp b/include/fit/repeat.hpp index 61100a5..0fbc80d 100644 --- a/include/fit/repeat.hpp +++ b/include/fit/repeat.hpp @@ -47,7 +47,7 @@ /// } /// }; /// -/// constexpr auto increment_by_5 = fit::repeat(std::integral_constant())(increment()); +/// auto increment_by_5 = fit::repeat(std::integral_constant())(increment()); /// assert(increment_by_5(1) == 6); /// diff --git a/include/fit/repeat_while.hpp b/include/fit/repeat_while.hpp index 3e369e0..c7342d6 100644 --- a/include/fit/repeat_while.hpp +++ b/include/fit/repeat_while.hpp @@ -58,7 +58,7 @@ /// typedef std::integral_constant one; /// typedef std::integral_constant six; /// -/// constexpr auto increment_until_6 = fit::repeat_while(not_6())(increment()); +/// auto increment_until_6 = fit::repeat_while(not_6())(increment()); /// static_assert(std::is_same::value, "Error"); ///