Commit 2ed51ece authored by Tom Niget's avatar Tom Niget

Fix C++ stream global state weirdness

parent 9f0d1621
...@@ -37,7 +37,7 @@ concept FunctionPointer = ...@@ -37,7 +37,7 @@ concept FunctionPointer =
template <Streamable T> template <Streamable T>
requires(FunctionPointer<T>) requires(FunctionPointer<T>)
void repr_to(const T &x, std::ostream &s) { void repr_to(const T &x, std::ostream &s) {
s << "<function at 0x" << std::hex << (size_t)x << ">"; s << "<function at 0x" << std::hex << (size_t)x << std::dec << ">";
} }
template <> template <>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment