alternative Standard Libary  0.29.8
std::fbit Klassenreferenz

#include <fast_type.hpp>

Öffentliche Methoden

 fbit ()
 
 fbit (bool b)
 
 fbit (const fbit &b)
 
 operator bool ()
 
fbitoperator= (const fbit &other)
 
bool operator== (const fbit &other)
 
bool operator!= (const fbit &other)
 
void flip ()
 

Öffentliche Attribute

union {
   unsigned char   bit: 1
 
}; 
 

Ausführliche Beschreibung

Beschreibung der Konstruktoren und Destruktoren

◆ fbit() [1/3]

std::fbit::fbit ( )
inline
43 : bit(0) { }
unsigned char bit
Definition: fast_type.hpp:41

◆ fbit() [2/3]

std::fbit::fbit ( bool  b)
inline
44 { bit = b ? 1 : 0; }
unsigned char bit
Definition: fast_type.hpp:41

◆ fbit() [3/3]

std::fbit::fbit ( const fbit b)
inline
45 : bit(b) { }
unsigned char bit
Definition: fast_type.hpp:41

Dokumentation der Elementfunktionen

◆ flip()

void std::fbit::flip ( )
inline
58 { bit = (bit ==1) ? 0 : 1; }
unsigned char bit
Definition: fast_type.hpp:41

◆ operator bool()

std::fbit::operator bool ( )
inline
47 { return bit == 1; }
unsigned char bit
Definition: fast_type.hpp:41

◆ operator!=()

bool std::fbit::operator!= ( const fbit other)
inline
54  {
55  return bit != other.bit;
56  }
unsigned char bit
Definition: fast_type.hpp:41

◆ operator=()

fbit& std::fbit::operator= ( const fbit other)
inline
48  {
49  bit = other.bit;
50  }
unsigned char bit
Definition: fast_type.hpp:41

◆ operator==()

bool std::fbit::operator== ( const fbit other)
inline
51  {
52  return bit == other.bit;
53  }
unsigned char bit
Definition: fast_type.hpp:41

Dokumentation der Datenelemente

◆ @2

union { ... }

◆ bit

unsigned char std::fbit::bit

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: