2
0
mirror of https://github.com/boostorg/hof.git synced 2026-01-25 18:22:18 +00:00

More friendly example for msvc

This commit is contained in:
Paul
2016-02-25 15:20:37 -06:00
parent 89c421d37c
commit a80bb237bb
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@
/// }
/// };
///
/// constexpr auto increment_by_5 = fit::repeat(std::integral_constant<int, 5>())(increment());
/// auto increment_by_5 = fit::repeat(std::integral_constant<int, 5>())(increment());
/// assert(increment_by_5(1) == 6);
///

View File

@@ -58,7 +58,7 @@
/// typedef std::integral_constant<int, 1> one;
/// typedef std::integral_constant<int, 6> 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<six, decltype(increment_until_6(one()))>::value, "Error");
///