An Overture to C Programmers
xlv
Use of a
namespace
is idiomatic C++ and is a zero-overhead abstraction.
Just like the rest of a type’s identifiers, the
namespace
is erased by the com-
piler when emitting assembly code. In large projects, it’s incredibly helpful
for separating code in different libraries.
Dostları ilə paylaş: