Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Class current_process_id

boost::log::attributes::current_process_id — A class of an attribute that holds the current process identifier.

Synopsis

// In header: <boost/log/attributes/current_process_id.hpp>


class current_process_id : public constant< process_id > {
public:
  // construct/copy/destruct
  current_process_id();
  explicit current_process_id(cast_source const &);
};

Description

current_process_id public construct/copy/destruct

  1. current_process_id();

    Constructor. Initializes the attribute with the current process identifier.

  2. explicit current_process_id(cast_source const & source);

    Constructor for casting support


PrevUpHomeNext