-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variable length field in repeating group c++ compilation error #795
Comments
Verified that compilation of the SBE tests fail with
|
SBE_CONSTEXPR_14 has been removed in 494b00a |
Thanks Todd. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No. The specification does not allow for variable length fields in a composite.
Variable length fields can be added at the end of a repeating group or the end of a message. You can compose something more complex with repeating groups or multiple messages.
Originally posted by @mjpt777 in #485 (comment)
There seems to be an issue with the generated c++ code when adding a variable length field inside a repeating group. The
computeLength
function is markedconstexpr
but callsstd::vector<>::size()
, which is a non-constexpr
function.The text was updated successfully, but these errors were encountered: