cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
namespace {…} without any namespace na
namespace {…} without any namespace name
Oct 21, 2019 at 2:39am UTC
marhuum
(181)
What actually is meant by namespace {…} without any namespace name which is sometimes seen in C++?
Oct 21, 2019 at 3:02am UTC
JLBorges
(13770)
Unnamed namespace:
https://en.cppreference.com/w/cpp/language/namespace#Unnamed_namespaces
Entities within an unnamed namespace have internal linkage;
they can only be accessed from within the same translation unit.
Topic archived. No new replies allowed.