mirror of
https://github.com/boostorg/type_traits.git
synced 2025-08-01 21:44:30 +02:00
Add comment describing the use of noncopyable_::base_token
This commit is contained in:
@@ -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 {};
|
||||
|
Reference in New Issue
Block a user