std namespace

B

Brian M. Dean

How do you go about looking at what is in the std
namespace? For example, is there a point(x,y) object
or class in the std namespace?
 
R

Ron Natalie

Brian said:
How do you go about looking at what is in the std
namespace? For example, is there a point(x,y) object
or class in the std namespace?

You can't really. You can look through the standard to
see what is supposed to be there (of which point is not).
A namespace is not monolithic. The various header files
in the standard introduce symbols into the std namespace.
The appropriate entries are not guaranteed to be in the
std namespace until you include the appropriate header.
Even when you do this, there is no way to "inspect" a
namespace.
 
V

Victor Bazarov

Brian said:
How do you go about looking at what is in the std
namespace? For example, is there a point(x,y) object
or class in the std namespace?

You buy the "The C++ Standard Library" book and read it.

You can do RTFM as well (if TFM is good enough to be R). Or you
can get a copy of the Standard and use it as a reference (although
I wouldn't recommend it).

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,294
Messages
2,571,511
Members
48,200
Latest member
SCPKatheri

Latest Threads

Top