> If posix_time had been a class, then you could have written
>
> using boost::posix_time;
>
> ... posix_time::milliseconds ...
>
> But since posix_time is a name space that can not be achieved.
>
> Is there any way in C++ of bringing the name of namespace into the global scope
> without bringing every name inside the namespace into the global scope?
>
> --Johan

 
Your last question contains kindof contradiction :).
Anyway, you can do something like this:
 
namepspace pt = boost::posix_time;
 
pt::milliseconds ...


Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!