Refactor mlib macro metaprogramming magic

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • C Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      mlib contains a lot of "macro magic". While this is very useful, it can be a bit hard to grok for those less familiar with macro metaprogramming.

      Currently, almost all macros are in a very large config.h header. It would be beneficial for maintainability to:

      1. Split macro metaprogramming macros into different files to increase discoverability.
      2. Heavily inline-document the purpose and behavior of metaprogramming macros, to increase the bus factor around them.

        1.
        sss CDRIVER-6144 Sub-task Closed Unassigned  
        2.
        sss CDRIVER-6145 Sub-task Closed Unassigned  
        3.
        sss CDRIVER-6146 Sub-task Closed Unassigned  

            Assignee:
            Unassigned
            Reporter:
            Colby Pike
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: