Static Functions in C++

前端 未结 8 1316
野趣味
野趣味 2021-01-17 08:09

I\'ve read a few posts on here about static functions, but still am running into trouble with implementation.

I\'m writing a hardcoded example of Dijkstra\'s algorit

8条回答
  •  渐次进展
    2021-01-17 08:49

    If I remember right any 'static' function is limited to the module in which it is implemented. So, 'static' prevents using the function in another module.

提交回复
热议问题