Boost logo

Boost Users :

Subject: Re: [Boost-users] can not compile nearest neighbors in d dimensions
From: Mateusz Łoskot (mateusz_at_[hidden])
Date: 2014-04-16 09:43:32


On 16 April 2014 15:35, Georgios Samaras <georgesamarasdit_at_[hidden]> wrote:
> The code has the error: "expected unqualified-id before ‘return’", but I do
> not see any missing bracket or relevant. How is this going to be fixed?

The code compiles for me in VS 2012 as well as GCC 4.8
(if I lower N of dimensions). See yourself
http://coliru.stacked-crooked.com/a/04a8437af2842f3c

Best regards,

-- 
Mateusz  Łoskot, http://mateusz.loskot.net

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