TBTK
Need a break? Support the development by playing Polarity Puzzles
BitRegister.h File Reference

Register of bits. More...

#include "TBTK/Streams.h"
#include <sstream>

Go to the source code of this file.

Classes

class  TBTK::BitRegister
 Register of bits. More...
 

Functions

std::ostream & TBTK::operator<< (std::ostream &stream, const BitRegister &bitRegister)
 

Detailed Description

Register of bits.

Author
Kristofer Björnson

Function Documentation

◆ operator<<()

std::ostream& TBTK::operator<< ( std::ostream &  stream,
const BitRegister bitRegister 
)
inline

Writes the BitRegsiter toString()-representation to a stream.

Parameters
streamThe stream to write to.
bitRegisterThe BitRegister to write.
Returns
Reference to the output stream just written to.