Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@GrigoriySokolov
Copy link

  • Added support for the cases like this:

    struct MSG_SET_FUNC : med::set<
    M< T16<0x0b>, FLD_UC >, //
    M< T16<0x0d>, FLD_FLAGS, FLD_FLAGS::setter >,
    O< T16<0x0e>, FLD_QTY, FLD_FLAGS::has_bits<FLD_FLAGS::QTY> >

    {};

  • This is quite an exotic case, since, strictly speaking, presence of conditional fields in a med::set is not required for successful decoding

  • Please note, that it is support for single-instance fields only. Also, there is yet no support for Counter fields in a med::set

- Added support for the cases like this:

    struct MSG_SET_FUNC : med::set<
           M< T16<0x0b>, FLD_UC >, //<TV>
           M< T16<0x0d>, FLD_FLAGS, FLD_FLAGS::setter >,
           O< T16<0x0e>, FLD_QTY, FLD_FLAGS::has_bits<FLD_FLAGS::QTY> >
    >{};

- This is quite an exotic case, since, strictly speaking, presence
  of conditional fields in a med::set is not required
  for successful decoding

- Please note, that it is support for single-instance fields only.
  Also, there is yet no support for Counter fields in a med::set
@cppden cppden merged commit a274e91 into cppden:master Mar 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants