In the documentation for boost.geometry it states
Note: prefer using x = bg::get:<0>(point1);
(as opposed to x = point1.get<0>();)
I have seen this elsewhere in the boost docs. My question is why? Is this a best-practices thing, a performance thing or some quirk? Is it a general rule or specific to this library?
getanyway? Is this the only reason?point1has a dependant type then you also don't need to writepoint1.template get<0>().