Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3454

C macro for compile time checks - static_assert / nt_static_assert

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.17.0
    • Component/s: None
    • Labels:
      None

      Description

      In many situations, it would be nice to have a compile-time assertion, for example for asserting the sizeof a type or variable.

        Attachments

          Activity

            People

            • Assignee:
              olehermanse Ole Herman Schumacher Elgesem
              Reporter:
              olehermanse Ole Herman Schumacher Elgesem
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel