名前空間
変種
操作

std::bitset::reference

提供: cppreference.com
< cpp‎ | utility‎ | bitset

 
 
ユーティリティライブラリ
支援を入力します (basic types, RTTI, type traits)
動的なメモリ管理
エラー処理
プログラムユーティリティ
可変個引数関数
日付と時刻
関数オブジェクト
initializer_list(C++11)
bitset
hash(C++11)
関係演算子
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
ペアとタプル
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
フォワード、スワップ、および移動
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
std::bitset
メンバータイプ
Original:
Member types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitset::reference
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitset::bitset
bitset::operator==
bitset::operator!=
要素アクセスの循環参照を解除するために使用されている
Original:
Element access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitset::operator[]
bitset::test
bitset::all
bitset::any
bitset::none
(C++11)

 
bitset::count
容量
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitset::size
修飾子
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitset::operator&=
bitset::operator|=
bitset::operator^=
bitset::operator~
bitset::operator<<=
bitset::operator>>=
bitset::operator<<
bitset::operator>>
bitset::set
bitset::reset
bitset::flip
変換
Original:
Conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitset::to_string
bitset::to_ulong
bitset::to_ullong(C++11)
非メンバ関数
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
operator&
operator|
operator^
operator<<
operator>>
ヘルパークラス
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::hash(C++11)
 
template <size_t N>
class bitset {
  // ...
  public:
    class reference {
        friend class bitset;
        reference() noexcept;
      public:
        ~reference() noexcept;
        reference& operator=(bool x) noexcept;
        reference& operator=(const reference&) noexcept;
        bool operator~() const noexcept;
        operator bool() const noexcept;
        reference& flip() noexcept;
    };
  // ...
};
noexcept仕様は(C++11)からです)
Original:
(noexcept specifications are from (C++11))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitsetのクラスでは、公的にアクセス可能な入れ子になったクラスとしてstd::bitset::referenceが含まれています。標準では、C + +の型(参照とポインタのような)個々のビットを指定するには十分な精度で構築されていませんので、このクラスは、ユーザーがbitsetの個々のビットとの対話を許可するプロキシ·オブジェクトとして使用されている.
Original:
The bitset class includes std::bitset::reference as a publicly-accessible nested class. This class is used as a proxy object to allow users to interact with individual bits of a bitset, since standard C++ types (like references and pointers) are not built with enough precision to specify individual bits.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::bitset::referenceの主な用途は、演算子[から返される可能性が左辺値]を提供することです.
Original:
The primary use of std::bitset::reference is to provide an l-value that can be returned from 演算子[].
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
任意の読み取りまたは潜在的に全体の基礎となるbitsetのへの読み取りまたは書き込みstd::bitset::reference介して起こるbitsetのへの書き込み.
Original:
Any reads or writes to a bitset that happen via a std::bitset::reference potentially read or write to the entire underlying bitset.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] も参照してください

特定のビットにアクセスします
Original:
accesses specific bit
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]