UML representation for C/C++ function pointers

后端 未结 7 1289
梦谈多话
梦谈多话 2021-02-13 00:21

What would be the best representation of a C/C++ function pointer (fp) in an UML structural diagram?

I\'m thinking about using an interface element, may be even if \'deg

7条回答
  •  鱼传尺愫
    2021-02-13 00:30

    I think you could virtually wrap the function pointer with a class. I think UML has not to be blueprint level to the code, documenting the concept is more important.

提交回复
热议问题