Skip to content
This repository was archived by the owner on Jun 4, 2026. It is now read-only.

Force second template#73

Open
cielavenir wants to merge 1 commit into
mapbox:masterfrom
cielavenir:forceSecondTemplate
Open

Force second template#73
cielavenir wants to merge 1 commit into
mapbox:masterfrom
cielavenir:forceSecondTemplate

Conversation

@cielavenir

@cielavenir cielavenir commented Feb 25, 2025

Copy link
Copy Markdown

This happens on clang 20

/home/mujin/mujin/jhbuildappcontroller/checkoutroot/geometry.hpp/test/io.cpp:20:12: error: use of overloaded operator '<<' is ambiguous (with operand types 'std::stringstream' (aka 'basic_stringstream<char>') and 'mapbox::geometry::point<double>')
   20 |     stream << point << std::endl;
      |     ~~~~~~ ^  ~~~~~
/home/mujin/mujin/jhbuildappcontroller/checkoutroot/geometry.hpp/include/mapbox/geometry_io.hpp:19:15: note: candidate function [with T = double, C = mapbox::geometry::point, Args = <>]
   19 | std::ostream& operator<<(std::ostream& os, const C<T, Args...>& cont)
      |               ^
/home/mujin/mujin/jhbuildappcontroller/checkoutroot/geometry.hpp/include/mapbox/geometry_io.hpp:35:15: note: candidate function [with T = double]
   35 | std::ostream& operator<<(std::ostream& os, const point<T>& point)
      |               ^
[ 36%] Building CXX object benchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o
/home/mujin/mujin/jhbuildappcontroller/checkoutroot/geometry.hpp/include/mapbox/geometry_io.hpp:24:12: error: use of overloaded operator '<<' is ambiguous (with operand types 'std::ostream' (aka 'basic_ostream<char>') and 'const mapbox::geometry::point<double>')
   24 |         os << *it;
      |         ~~ ^  ~~~

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant