Skip to content

Commit

Permalink
fmt-iter-forが未規定の型であることを明示化
Browse files Browse the repository at this point in the history
  • Loading branch information
acd1034 committed Jul 2, 2023
1 parent dc598a2 commit 313f64e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion reference/format/formattable.md
Expand Up @@ -7,7 +7,7 @@
```cpp
namespace std {
template <class charT>
concept fmt-iter-for = output_iterator<const charT&>;
using fmt-iter-for = /* unspecified */;

template <class T, class charT>
concept formattable =
Expand All @@ -23,6 +23,8 @@ namespace std {
};
}
```
* fmt-iter-for[italic]
* unspecified[italic]
* formatter[link formatter.md]
* semiregular[link /reference/concepts/semiregular.md]
* basic_format_context[link basic_format_context.md]
Expand All @@ -33,6 +35,7 @@ namespace std {
このコンセプトを使用することで、[`formatter`](formatter.md)クラステンプレートが使用したい型で特殊化されているかをチェックできる。
`formattable`コンセプトの定義において使用されている`fmt-iter-for<charT>`は、[`output_iterator<const charT&>`](/reference/iterator/output_iterator.md)コンセプトのモデルとなる未規定の型である。
## 例
```cpp example
Expand Down

0 comments on commit 313f64e

Please sign in to comment.