We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8f0f3f commit 932110aCopy full SHA for 932110a
reference/utility/integer_sequence.md
@@ -20,6 +20,15 @@ namespace std {
20
このクラスは、[`tuple`](/reference/tuple/tuple.md)オブジェクトを展開して、引数パックとして他の関数に転送することを主目的として作られた。
21
22
23
+## テンプレートパラメータ制約
24
+- `T` は整数型であること。
25
+
26
27
+## 備考
28
+- C++17まで : テンプレートパラメータ `T` が整数型でない場合の動作は未定義。
29
+- C++20から : `T` が整数型でない場合、プログラムは不適格となり、コンパイルエラーとなることが要求されるようになった。
30
31
32
## 例
33
```cpp example
34
#include <iostream>
@@ -61,3 +70,4 @@ int main()
61
70
62
71
## 参照
63
72
- [N3658 Compile-time integer sequences](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3658.html)
73
+- [P1460R1 Mandating the Standard Library: Clause 20 - Utilities library](https://wg21.link/p1460r1)
0 commit comments