---
name: "std::__profile::bitset"
section: "3cxx"
platform: "linux"
package: "libstdc++-9-doc"
version: "9.3.0-22"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/std::__profile::bitset"
---

# std::\_\_profile::bitset(3cxx)

Class std::bitset wrapper with performance instrumentation, none at the moment.

## NAME

std::\_\_profile::bitset\< \_Nb \> - Class std::bitset wrapper with performance instrumentation, none at the moment.

## SYNOPSIS

Inherits bitset\< \_Nb \>.

### Public Member Functions

**bitset** (const **\_Base** &\_\_x)\
 template\<typename \_CharT \> **bitset** (const \_CharT \*\_\_str, typename **std::basic\_string**\< \_CharT \>::size\_type \_\_n=**std::basic\_string**\< \_CharT \>::npos, \_CharT \_\_zero=\_CharT('0'), \_CharT \_\_one=\_CharT('1'))\
 template\<class \_CharT , class \_Traits , class \_Alloc \> **bitset** (const **std::basic\_string**\< \_CharT, \_Traits, \_Alloc \> &\_\_str, typename **std::basic\_string**\< \_CharT, \_Traits, \_Alloc \>::size\_type \_\_pos, typename **std::basic\_string**\< \_CharT, \_Traits, \_Alloc \>::size\_type \_\_n, \_CharT \_\_zero, \_CharT \_\_one=\_CharT('1'))\
 template\<typename \_CharT , typename \_Traits , typename \_Alloc \> **bitset** (const **std::basic\_string**\< \_CharT, \_Traits, \_Alloc \> &\_\_str, typename **std::basic\_string**\< \_CharT, \_Traits, \_Alloc \>::size\_type \_\_pos=0, typename **std::basic\_string**\< \_CharT, \_Traits, \_Alloc \>::size\_type \_\_n=(**std::basic\_string**\< \_CharT, \_Traits, \_Alloc \>::npos))\
 constexpr **bitset** (unsigned long long \_\_val) noexcept\
 const **\_Base** & **\_M\_base** () const noexcept\
 **\_Base** & **\_M\_base** () noexcept\
 **bitset**\< \_Nb \> & **flip** () noexcept\
 **bitset**\< \_Nb \> & **flip** (size\_t \_\_pos)\
 bool **operator!=** (const **bitset**\< \_Nb \> &\_\_rhs) const noexcept\
 **bitset**\< \_Nb \> & **operator&=** (const **bitset**\< \_Nb \> &\_\_rhs) noexcept\
 **bitset**\< \_Nb \> **operator\<\<** (size\_t \_\_pos) const noexcept\
 **bitset**\< \_Nb \> & **operator\<\<=** (size\_t \_\_pos) noexcept\
 bool **operator==** (const **bitset**\< \_Nb \> &\_\_rhs) const noexcept\
 **bitset**\< \_Nb \> **operator\>\>** (size\_t \_\_pos) const noexcept\
 **bitset**\< \_Nb \> & **operator\>\>=** (size\_t \_\_pos) noexcept\
 **bitset**\< \_Nb \> & **operator^=** (const **bitset**\< \_Nb \> &\_\_rhs) noexcept\
 **bitset**\< \_Nb \> & **operator\|=** (const **bitset**\< \_Nb \> &\_\_rhs) noexcept\
 **bitset**\< \_Nb \> **operator~** () const noexcept\
 **bitset**\< \_Nb \> & **reset** () noexcept\
 **bitset**\< \_Nb \> & **reset** (size\_t \_\_pos)\
 **bitset**\< \_Nb \> & **set** () noexcept\
 **bitset**\< \_Nb \> & **set** (size\_t \_\_pos, bool \_\_val=true)\

## Detailed Description

### template\<size\_t \_Nb\>

class std::\_\_profile::bitset\< \_Nb \>" Class std::bitset wrapper with performance instrumentation, none at the moment.

Definition at line 41 of file profile/bitset.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
