From 5d8180a8094271f64336613b091381399cc3db9d Mon Sep 17 00:00:00 2001 From: Semisonic Date: Wed, 26 Feb 2020 02:42:09 +0300 Subject: [PATCH] Update README.md (#79) * Update README.md As per https://en.cppreference.com/w/cpp/utility/integer_sequence, `std::make_integer_sequence` doesn't accept any parameter pack template arguments --- CPP14.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CPP14.md b/CPP14.md index 352d953..db17048 100644 --- a/CPP14.md +++ b/CPP14.md @@ -169,7 +169,7 @@ std::chrono::duration_cast(day).count(); // == 1440 ### Compile-time integer sequences The class template `std::integer_sequence` represents a compile-time sequence of integers. There are a few helpers built on top: -* `std::make_integer_sequence` - creates a sequence of `0, ..., N - 1` with type `T`. +* `std::make_integer_sequence` - creates a sequence of `0, ..., N - 1` with type `T`. * `std::index_sequence_for` - converts a template parameter pack into an integer sequence. Convert an array into a tuple: diff --git a/README.md b/README.md index 5b747bb..ddc80a9 100644 --- a/README.md +++ b/README.md @@ -1126,7 +1126,7 @@ std::chrono::duration_cast(day).count(); // == 1440 ### Compile-time integer sequences The class template `std::integer_sequence` represents a compile-time sequence of integers. There are a few helpers built on top: -* `std::make_integer_sequence` - creates a sequence of `0, ..., N - 1` with type `T`. +* `std::make_integer_sequence` - creates a sequence of `0, ..., N - 1` with type `T`. * `std::index_sequence_for` - converts a template parameter pack into an integer sequence. Convert an array into a tuple: