We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 418f45b commit f2394cfCopy full SHA for f2394cf
1 file changed
app/generation/cpp-all-features/templates/generate.tmpl
@@ -411,6 +411,7 @@ public:
411
}
412
413
// Compute buffer size for encode message header and message body
414
+ // TODO: wrong!
415
[[nodiscard]] static constexpr auto computeBufferSize({%- for field in va_fields %}{{ comma() }}std::size_t count{{ loop.index0 }} = 0{% endfor -%}) -> std::size_t {
416
{% if va_fields | length > 0 %}
417
auto bufferSize = std::size_t({{ schema.header_type.encoded_length + message.block_length }}u);
0 commit comments