Reputation: 87
I have a requirement where a (const) variable should be available throughout an entire cpp which consists of several classes. I have decided to use a namespace to solve the problem, but unsure about the following:
Upvotes: 6
Views: 3348
Reputation: 231443
Upvotes: 8