提交 8fdd20cd 编写于 作者: S silverweed

Overload parse() to accept an rvalue reference

上级 0a813539
......@@ -4471,6 +4471,11 @@ class basic_json
return parser(i, cb).parse();
}
static basic_json parse(std::istream&& i, parser_callback_t cb = nullptr)
{
return parser(i, cb).parse();
}
/*!
@brief deserialize from stream
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册