Skip to content

Commit e8bae9d

Browse files
committed
Update glaze_asio.hpp
1 parent ce5b7f8 commit e8bae9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/glaze/ext/glaze_asio.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,8 @@ namespace glz
589589
std::memcpy(msg.body.data() + 4, error_message.data(), n);
590590
}
591591

592+
// Decodes a repe::message into a structure
593+
// Returns a std::string with a formatted error on error
592594
template <opts Opts = opts{}, class T>
593595
inline std::optional<std::string> decode_message(T&& value, message& msg)
594596
{

0 commit comments

Comments
 (0)