Files
test2/source/blender/blenlib/intern/bit_ref.cc
Campbell Barton 6297bbe931 License headers: attribute copyright to "Blender Authors"
See #110784, it seems that merging functionality reintroduced the old
convention.
2023-11-07 15:42:52 +11:00

22 lines
423 B
C++

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#include "BLI_bit_ref.hh"
#include <ostream>
namespace blender::bits {
std::ostream &operator<<(std::ostream &stream, const BitRef &bit)
{
return stream << (bit ? '1' : '0');
}
std::ostream &operator<<(std::ostream &stream, const MutableBitRef &bit)
{
return stream << BitRef(bit);
}
} // namespace blender::bits