What is common between const, static, inline in C++?
Answer:
All these declaration have linkage local to its translation unit. i.e several src files can have these entities without the definitions colliding with each other.
Reference : Bjarne Stroustrup, Margaret A. Ellis The Annotated C++ Reference Manual pp.27-28 , Pearson Education ( 2005 )
No comments:
Post a Comment