Re: [Boost-bugs] [Boost C++ Libraries] #4083: thread_id value not exported.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4083: thread_id value not exported.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-07 08:55:05


#4083: thread_id value not exported.
--------------------------------------------------+-------------------------
  Reporter: Michael Soliman. <boost@…> | Owner: anthonyw
      Type: Feature Requests | Status: closed
 Milestone: Boost 1.43.0 | Component: thread
   Version: Boost 1.42.0 | Severity: Optimization
Resolution: wontfix | Keywords: access, functions, public, protected
--------------------------------------------------+-------------------------
Changes (by anthonyw):

  * status: new => closed
  * resolution: => wontfix

Comment:

 The details of thread::id are private for a purpose. The internal contents
 are not intended for public consumption, and providing such access would
 break encapsulation.

 thread::id is suitable for use as a key in an associative container, so
 can be used directly as e.g. a map index.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4083#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC