Skip to content

Commit

Permalink
オリジナル書式を定義する例の参照修飾を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
acd1034 committed Jul 2, 2023
1 parent 32255ef commit dc598a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/format/range_formatter.md
Expand Up @@ -92,7 +92,7 @@ public:
// format()関数は書式の情報をもたない。
// parse()関数で解析した書式をメンバ変数で保持しておいて、
// それをもとに書式化する
auto format(MyVector<T>&& v, std::format_context& fctx) const {
auto format(const MyVector<T>& v, std::format_context& fctx) const {
if (is_colon) {
auto out = fctx.out();
bool is_first = true;
Expand Down

0 comments on commit dc598a2

Please sign in to comment.