ECSTASY
All in the name
Loading...
Searching...
No Matches
util Namespace Reference

Namespace regrouping helpers used by ecstasy but not specific to ecstasy. More...

Namespaces

namespace  meta
 Namespace regrouping all meta programmation helper types.
 
namespace  serialization
 

Classes

class  Allocator
 
class  BitSet
 Mimics the API of std::bitset but with the dynamic properties of std::vector<bool> More...
 
class  StackAllocator
 

Functions

std::ostreamoperator<< (std::ostream &output, BitSet const &set)
 Prints the contents of set into output.
 

Detailed Description

Namespace regrouping helpers used by ecstasy but not specific to ecstasy.

Author
Andréas Leroux (andre.nosp@m.as.l.nosp@m.eroux.nosp@m.@epi.nosp@m.tech..nosp@m.eu)
Since
1.0.0 (2022-11-18)

Function Documentation

◆ operator<<()

std::ostream & util::operator<< ( std::ostream output,
BitSet const &  set 
)

Prints the contents of set into output.

Definition at line 189 of file BitSet.cpp.

190 {
191 for (std::size_t s = set.size(), i = s; i > 0; --i)
192 output << (set.test(i - 1) ? '1' : '0');
193 return output;
194 }