Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct current_view

boost::process::v2::environment::current_view — A view object for the current environment of this process.

Synopsis

// In header: <boost/process/v2/environment.hpp>


struct current_view {
  // types
  typedef  ;
  typedef key_value_pair_view             ;        

  // member classes/structs/unions

  struct iterator {
    // types
    typedef key_value_pair_view       ;       
    typedef                        ;  
    typedef key_value_pair_view       ;        
    typedef key_value_pair_view       ;          
    typedef  ;

    // construct/copy/destruct
    () = ;
    (iterator &) = ;
    ();

    // public member functions
    iterator & ();
    iterator ();
    key_value_pair_view () ;
  };

  // construct/copy/destruct
  () = ;
  (current_view &&) = ;

  // public member functions
   ();
  iterator () ;
  iterator () ;
};

Description

The view might (windows) or might not (posix) be owning; if it owns it will deallocate the on destruction, like a unique_ptr.

Note that accessing the environment in this way is not thread-safe.

current_view public construct/copy/destruct

  1. () = ;
  2. (current_view && nt) = ;

current_view public member functions

  1.  ();
  2. iterator () ;
  3. iterator () ;

PrevUpHomeNext