Skip to content

Commit

Permalink
removed formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
drexlerd committed Aug 28, 2024
1 parent 825bee3 commit 5220968
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 105 deletions.
3 changes: 0 additions & 3 deletions include/flatmemory/details/types/bitset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "flatmemory/details/layout.hpp"
#include "flatmemory/details/types.hpp"
#include "flatmemory/details/types/declarations.hpp"
#include "flatmemory/details/types/formatter.hpp"
#include "flatmemory/details/types/vector.hpp"

#include <algorithm>
Expand Down Expand Up @@ -1517,8 +1516,6 @@ static_assert(!HaveCompatibleTagType<Builder<Bitset<uint64_t, Tag1>>, View<Bitse
template<flatmemory::IsUnsignedIntegral Block, typename Tag>
std::ostream& operator<<(std::ostream& out, ConstView<Bitset<Block, Tag>> element)
{
auto formatter = Formatter(0, 4);
formatter.write(element, out);
return out;
}
}
Expand Down
52 changes: 0 additions & 52 deletions include/flatmemory/details/types/formatter.hpp

This file was deleted.

42 changes: 0 additions & 42 deletions include/flatmemory/details/types/formatter_impl.hpp

This file was deleted.

3 changes: 0 additions & 3 deletions include/flatmemory/details/types/tuple.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "flatmemory/details/layout.hpp"
#include "flatmemory/details/types.hpp"
#include "flatmemory/details/types/declarations.hpp"
#include "flatmemory/details/types/formatter.hpp"

#include <algorithm>
#include <array>
Expand Down Expand Up @@ -481,8 +480,6 @@ constexpr void Layout<Tuple<Ts...>>::print() const
template<IsTriviallyCopyableOrNonTrivialType... Ts>
std::ostream& operator<<(std::ostream& out, ConstView<Tuple<Ts...>> element)
{
auto formatter = Formatter(0, 4);
formatter.write(element, out);
return out;
}

Expand Down
3 changes: 0 additions & 3 deletions include/flatmemory/details/types/vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "flatmemory/details/layout.hpp"
#include "flatmemory/details/types.hpp"
#include "flatmemory/details/types/declarations.hpp"
#include "flatmemory/details/types/formatter.hpp"

#include <algorithm>
#include <cassert>
Expand Down Expand Up @@ -1084,8 +1083,6 @@ static_assert(std::ranges::forward_range<ConstView<Vector<uint64_t>>>);
template<IsTriviallyCopyableOrNonTrivialType T>
std::ostream& operator<<(std::ostream& out, ConstView<Vector<T>> element)
{
auto formatter = Formatter(0, 4);
formatter.write(element, out);
return out;
}
}
Expand Down
2 changes: 0 additions & 2 deletions include/flatmemory/flatmemory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
*/

#include "flatmemory/details/types/bitset.hpp"
#include "flatmemory/details/types/formatter.hpp"
#include "flatmemory/details/types/formatter_impl.hpp"
#include "flatmemory/details/types/optional.hpp"
#include "flatmemory/details/types/tuple.hpp"
#include "flatmemory/details/types/vector.hpp"
Expand Down

0 comments on commit 5220968

Please sign in to comment.