From 8e85d1d19148da4108fde144040ea8f49eb837dc Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Wed, 26 Aug 2026 20:49:09 +0300 Subject: [PATCH 1/5] Reproduce test from issue https://github.com/boostorg/lexical_cast/issues/101 --- test/arrays_test.cpp | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/test/arrays_test.cpp b/test/arrays_test.cpp index 298ec86..cfaed7a 100644 --- a/test/arrays_test.cpp +++ b/test/arrays_test.cpp @@ -24,6 +24,22 @@ using namespace boost; #define BOOST_LC_RUNU32 #endif +namespace user_namespace { + +struct user_type{}; + +template +inline std::ostream& operator<<(std::ostream& os, const boost::array& ) { + return os << "array"; +} + +template +inline std::ostream& operator<<(std::ostream& os, const std::array& ) { + return os << "array"; +} + +} + template