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

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:

  // public member functions
  current_process_id();
  explicit current_process_id(cast_source const &);
};

Description

current_process_id public member functions

  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