Boost logo

Boost Users :

Subject: Re: [Boost-users] can not compile nearest neighbors in d dimensions
From: Georgios Samaras (georgesamarasdit_at_[hidden])
Date: 2014-04-16 05:28:34


>The compiler is right, as in this context of template instantiation,
>M must denote a constant expression
>and M must not be evaluated at run-time.

The compiler is "always" right. How Boost.Geometry allows me to achieve my
purpose (i.e. creating a M-dimension point)? I tried to work around it, but
I failed and can not find any workable solutions in Google. Moreover, I
didn't find anything about that in the docs.

Thanks,
George

PS - I was warned about top-posting (is my message ok now?)



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net