UML representation for C/C++ function pointers

后端 未结 7 1298
梦谈多话
梦谈多话 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:32

    Seems correct to me. I'm not sure you should dive into the low-level details of descripting the type and relation of your single function pointer. I usually find that description an interface is enough detalization without the need to decompose the internal elements of it.

提交回复
热议问题