Language
C++
Compiler
gcc 11.1.0
Options
Optimization
Boost 1.76.0
C++2b(GNU)
no pedantic
$ g++ prog.cc -O2 -march=native -I/opt/wandbox/boost-1.76.0/gcc-11.1.0/include -std=gnu++2b
warning ringA: Geometry is defined as closed but is open
warning ringB: Geometry is defined as closed but is open
ringA: POLYGON((0 0,0 10,10 10,10 0,0 0))
ringB: POLYGON((5 -5,5 5,15 5,15 -5,5 -5))
MULTIPOINT((10 5),(5 0))
POINT(5 0) intersects LINESTRING(5 -5,5 5)
POINT(10 5) intersects LINESTRING(5 5,15 5)
Exit Code:
0