Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Struct sentry

Boost , Chapter 1. Boost.Log v2 , Class named_scope

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

Struct sentry

boost::log::attributes::named_scope::sentry — Sentry object class to automatically push and pop scopes.

Synopsis

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

// Sentry object class to automatically push and pop scopes.
struct sentry {
  // construct/copy/destruct
  sentry(string_literal const &, string_literal const &, unsigned int, 
         scope_entry::scope_name_type = scope_entry::general) noexcept;
  sentry(sentry const &) = delete;
  sentry & operator=(sentry const &) = delete;
  ~sentry();
};

Description

sentry public construct/copy/destruct

  1. > > > > & , > >> >> >>>>>>>>> >

    <626>>>Факц> > >>>>>>>> >>>>>>>>>>>>>>>> >>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

    Параметры:

    >>>>>>

    В

    Line number in the file.

    <6480>sn

    Scope name

  2. sentry(sentry const &) = delete;
  3. sentry & оператор=(sentry const &) = delete;
  4. ~sentry();

    Destructor. Удаляет последнюю отжатую область из резьбового списка областей.


  5. PrevUpHomeNext

    Статья Struct sentry раздела Chapter 1. Boost.Log v2 Class named_scope может быть полезна для разработчиков на c++ и boost.




    Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



    :: Главная :: Class named_scope ::


    реклама


    ©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
    Top.Mail.Ru

    Время компиляции файла: 2024-08-30 11:47:00
    2025-05-19 19:28:59/0.0080599784851074/1