$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Andrey Semashev (andysem_at_[hidden])
Date: 2007-12-04 10:55:28
David Abrahams wrote:
> on Mon Dec 03 2007, Andrey Semashev <andysem-AT-mail.ru> wrote:
>
>> Maybe the library should reside in its own sub-namespace and then this
>> namespace should be imported into boost:: with using directive. This
>> import would be optional, depending on some macro, and would be declared
>> deprecated.
>
> More simply, boost/thread.hpp could do
>
> #include "boost/thread/whatever.hpp"
> #include "boost/thread/whateverelse.hpp"
> namespace boost
> {
> using namespace threads;
> }
>
>
Yep, or even better:
#ifndef BOOST_THREAD_NO_IMPORTS
namespace boost
{
using namespace threads;
}
#endif