...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::log::attributes::current_process_id — A class of an attribute that holds the current process identifier.
// In header: <boost/log/attributes/current_process_id.hpp> class current_process_id : public constant< process_id > { public: // public member functions current_process_id(); explicit current_process_id(cast_source const &); };
current_process_id
public member functionscurrent_process_id();
Constructor. Initializes the attribute with the current process identifier.
explicit current_process_id(cast_source const & source);
Constructor for casting support