Add comment describing the use of noncopyable_::base_token

This commit is contained in:
Peter Dimov
2018-08-25 15:36:29 +03:00
parent 91c5184fca
commit 0d7d9c72ef

View File

@ -19,6 +19,10 @@ namespace boost
#ifndef BOOST_NONCOPYABLE_BASE_TOKEN_DEFINED
#define BOOST_NONCOPYABLE_BASE_TOKEN_DEFINED
// boost::noncopyable derives from noncopyable_::base_token to enable us
// to recognize it. The definition is macro-guarded so that we can replicate
// it here without including boost/core/noncopyable.hpp, which is in Core.
namespace noncopyable_
{
struct base_token {};