A bug was discovered in glaze which prevented valid toml output. We have switched to toml++ and reflect-cpp. The interface has remained the same so this should not break any code
13 lines
344 B
C++
13 lines
344 B
C++
#pragma once
|
|
|
|
#include "enchantum.hpp"
|
|
#include <iosfwd>
|
|
#include "details/format_util.hpp"
|
|
|
|
namespace enchantum::ostream_operators {
|
|
template<typename Traits, Enum E>
|
|
std::basic_ostream<char, Traits>& operator<<(std::basic_ostream<char, Traits>& os, const E e)
|
|
{
|
|
return os << details::format(e);
|
|
}
|
|
} // namespace enchantum::ostream_operators
|