Opened 5 years ago
Last modified 5 years ago
#13032 new Bugs
qvm/mat.hpp fails to compile when assign/list_of.hpp has been included first
| Reported by: | Owned by: | Barend Gehrels | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | geometry |
| Version: | Boost 1.64.0 | Severity: | Problem |
| Keywords: | Cc: | daniel.kruegler@… |
Description
Following program:
#include "boost/assign/list_of.hpp" #include "boost/geometry/strategies/transform/matrix_transformers.hpp"
fails to compile with g++-6.1.0, giving the error
/home/krausemi/xxxx-boost/1.64/include/boost/qvm/mat.hpp: In member function ‘boost::qvm::mat<T, Rows, Cols>::operator R() const’:
/home/krausemi/xxxx-boost/1.64/include/boost/qvm/mat.hpp:28:23: error: expected primary-expression before ‘(’ token
assign(r,*this);
^
Change History (3)
comment:1 by , 5 years ago
| Cc: | added |
|---|
comment:2 by , 5 years ago
| Component: | None → geometry |
|---|---|
| Owner: | set to |
comment:3 by , 5 years ago
Note:
See TracTickets
for help on using tickets.

Is this fixed by
https: github.com/boostorg/qvm/commit/5209c985d843a52e428a497f9fb740e1741c86d4 ?
The subject sounds like it, but the patch is really large so I'm not certain.