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

Class fiber::id

Boost , Chapter 1. Fiber , Fiber management

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
#include <boost/fiber/fiber.hpp>
namespace boost {
namespace fibers {
class id {
public:
    constexpr id() noexcept;
    bool operator==( id const&) const noexcept;
    bool operator!=( id const&) const noexcept;
    bool operator<( id const&) const noexcept;
    bool operator>( id const&) const noexcept;
    bool operator<=( id const&) const noexcept;
    bool operator>=( id const&) const noexcept;
    template< typename charT, class traitsT >
    friend std::basic_ostream< charT, traitsT > &
    operator<<( std::basic_ostream< charT, traitsT > &, id const&);
};
}}
Constructor
constexpr id() noexcept;

Effects:

.

Throws:

Ничего.

Member function operator==()

bool operator==( id const& other) const noexcept;

Returns:

<true>если<*this>и<other>представляют одно и то же волокно, или оба представляютне-волокно,<false>иначе.

Throws:

Ничего.

Member function operator!=()

bool operator!=( id const& other) const noexcept;

Returns:

<! (other == * this)>

Throws:

Ничего.

Member function operator<()

bool operator<( id const& other) const noexcept;

Returns:

<true>, если<*this!=other>истинно и заданный реализацией полный порядок<fiber::id>значений помещает<*this>перед<other>, ложно в противном случае.

Throws:

Ничего.

Member function operator>()

bool operator>( id const& other) const noexcept;

Returns:

<other< *this>

Throws:

Ничего.

Member function operator<=()

bool operator<=( id const& other) const noexcept;

Returns:

<!(other< *this)>

Throws:

Ничего.

Member function operator>=()

bool operator>=( id const& other) const noexcept;

Returns:

<!(* this< other)>

Throws:

Ничего.

operator<<
template< typename charT, class traitsT >
std::basic_ostream< charT, traitsT > &
operator<<( std::basic_ostream< charT, traitsT > & os, id const& other);

Efects:

Пишет представление<other>для потока<os>. Представление не уточняется.

Returns:

<os>


PrevUpHomeNext

Статья Class fiber::id раздела Chapter 1. Fiber Fiber management может быть полезна для разработчиков на c++ и boost.




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



:: Главная :: Fiber management ::


реклама


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

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