bla.cpp: In function ‘int main(int, char**)’: bla.cpp:25:34: error: ‘M’ cannot appear in a constant-expression bla.cpp:25:54: error: template argument 2 is invalid bla.cpp:25:61: error: invalid type in declaration before ‘;’ token In file included from ../boost/geometry/index/rtree.hpp:29:0, from bla.cpp:5: ../boost/geometry/index/indexable.hpp: At global scope: ../boost/geometry/index/indexable.hpp: In instantiation of ‘boost::geometry::index::indexable’: ../boost/geometry/index/detail/translator.hpp:17:8: instantiated from ‘boost::geometry::index::detail::translator, boost::geometry::index::equal_to >’ ../boost/geometry/index/detail/translator.hpp:43:51: instantiated from ‘boost::geometry::index::detail::result_type, boost::geometry::index::equal_to > >’ ../boost/geometry/index/detail/translator.hpp:53:13: instantiated from ‘boost::geometry::index::detail::indexable_type, boost::geometry::index::equal_to > >’ ../boost/geometry/index/rtree.hpp:147:13: instantiated from ‘boost::geometry::index::rtree >’ bla.cpp:28:43: instantiated from here ../boost/geometry/index/indexable.hpp:47:5: error: no matching function for call to ‘assertion_failed(mpl_::failed************ (boost::geometry::index::indexable::NOT_VALID_INDEXABLE_TYPE::************)(int))’ ../boost/geometry/index/indexable.hpp:47:5: note: candidate is: ../boost/mpl/assert.hpp:82:5: note: template int mpl_::assertion_failed(typename mpl_::assert::type) In file included from ../boost/geometry/core/coordinate_system.hpp:20:0, from ../boost/geometry/core/cs.hpp:21, from ../boost/geometry/geometry.hpp:19, from ../boost/geometry.hpp:17, from bla.cpp:1: ../boost/geometry/core/point_type.hpp: In instantiation of ‘boost::geometry::traits::point_type’: ../boost/geometry/core/point_type.hpp:66:17: instantiated from ‘boost::geometry::core_dispatch::point_type’ ../boost/geometry/core/coordinate_type.hpp:58:62: instantiated from ‘boost::geometry::core_dispatch::coordinate_type’ ../boost/geometry/core/coordinate_type.hpp:92:25: instantiated from ‘boost::geometry::coordinate_type’ ../boost/geometry/index/rtree.hpp:157:5: instantiated from ‘boost::geometry::index::rtree >’ bla.cpp:28:43: instantiated from here ../boost/geometry/core/point_type.hpp:45:5: error: no matching function for call to ‘assertion_failed(mpl_::failed************ (boost::geometry::traits::point_type::NOT_IMPLEMENTED_FOR_THIS_POINT_TYPE::************)(mpl_::assert_::types))’ ../boost/geometry/core/point_type.hpp:45:5: note: candidate is: ../boost/mpl/assert.hpp:82:5: note: template int mpl_::assertion_failed(typename mpl_::assert::type) ../boost/geometry/core/point_type.hpp: In instantiation of ‘boost::geometry::core_dispatch::point_type’: ../boost/geometry/core/coordinate_type.hpp:58:62: instantiated from ‘boost::geometry::core_dispatch::coordinate_type’ ../boost/geometry/core/coordinate_type.hpp:92:25: instantiated from ‘boost::geometry::coordinate_type’ ../boost/geometry/index/rtree.hpp:157:5: instantiated from ‘boost::geometry::index::rtree >’ bla.cpp:28:43: instantiated from here ../boost/geometry/core/point_type.hpp:66:17: error: no type named ‘type’ in ‘struct boost::geometry::traits::point_type’ bla.cpp: In function ‘int main(int, char**)’: bla.cpp:36:13: error: ‘M’ cannot appear in a constant-expression bla.cpp:36:21: error: ‘a’ was not declared in this scope bla.cpp:42:17: error: ‘qN’ was not declared in this scope bla.cpp:46:10: error: ‘class boost::geometry::index::rtree >’ has no member named ‘qbegin’ bla.cpp:46:30: error: ‘b’ was not declared in this scope bla.cpp:47:7: error: ‘it’ was not declared in this scope bla.cpp:47:19: error: ‘class boost::geometry::index::rtree >’ has no member named ‘qend’ In file included from bla.cpp:5:0: ../boost/geometry/index/rtree.hpp: In member function ‘void boost::geometry::index::rtree::insert(const value_type&) [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator, boost::geometry::index::rtree::value_type = int]’: bla.cpp:38:21: instantiated from here ../boost/geometry/index/rtree.hpp:543:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘root’ ../boost/geometry/index/rtree.hpp: In constructor ‘boost::geometry::index::rtree::members_holder::members_holder(const IndGet&, const ValEq&, const Parameters&) [with IndGet = boost::geometry::index::indexable, ValEq = boost::geometry::index::equal_to, Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator]’: ../boost/geometry/index/rtree.hpp:215:46: instantiated from ‘boost::geometry::index::rtree::rtree(const parameters_type&, const indexable_getter&, const value_equal&) [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator, boost::geometry::index::rtree::parameters_type = boost::geometry::index::quadratic<16u>, boost::geometry::index::rtree::indexable_getter = boost::geometry::index::indexable, boost::geometry::index::rtree::value_equal = boost::geometry::index::equal_to]’ bla.cpp:28:43: instantiated from here ../boost/geometry/index/rtree.hpp:1409:21: error: using invalid field ‘boost::geometry::index::rtree::members_holder::values_count’ ../boost/geometry/index/rtree.hpp:1409:21: error: using invalid field ‘boost::geometry::index::rtree::members_holder::leafs_level’ ../boost/geometry/index/rtree.hpp:1409:21: error: using invalid field ‘boost::geometry::index::rtree::members_holder::root’ ../boost/geometry/index/rtree.hpp: In member function ‘void boost::geometry::index::rtree::raw_destroy(boost::geometry::index::rtree&) [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator, boost::geometry::index::rtree = boost::geometry::index::rtree >]’: ../boost/geometry/index/rtree.hpp:309:9: instantiated from ‘boost::geometry::index::rtree::~rtree() [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator]’ bla.cpp:28:43: instantiated from here ../boost/geometry/index/rtree.hpp:1282:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘root’ ../boost/geometry/index/rtree.hpp:1286:13: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘root’ ../boost/geometry/index/rtree.hpp:1288:13: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘root’ ../boost/geometry/index/rtree.hpp:1290:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘values_count’ ../boost/geometry/index/rtree.hpp:1291:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘leafs_level’ ../boost/geometry/index/rtree.hpp: In member function ‘void boost::geometry::index::rtree::raw_create() [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator]’: ../boost/geometry/index/rtree.hpp:544:13: instantiated from ‘void boost::geometry::index::rtree::insert(const value_type&) [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator, boost::geometry::index::rtree::value_type = int]’ bla.cpp:38:21: instantiated from here ../boost/geometry/index/rtree.hpp:1265:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘root’ ../boost/geometry/index/rtree.hpp:1267:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘allocators’ ../boost/geometry/index/rtree.hpp:1267:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘root’ ../boost/geometry/index/rtree.hpp:1268:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘values_count’ ../boost/geometry/index/rtree.hpp:1269:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘leafs_level’ ../boost/geometry/index/rtree.hpp: In member function ‘void boost::geometry::index::rtree::raw_insert(const value_type&) [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator, boost::geometry::index::rtree::value_type = int]’: ../boost/geometry/index/rtree.hpp:546:9: instantiated from ‘void boost::geometry::index::rtree::insert(const value_type&) [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator, boost::geometry::index::rtree::value_type = int]’ bla.cpp:38:21: instantiated from here ../boost/geometry/index/rtree.hpp:1202:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘root’ ../boost/geometry/index/rtree.hpp:546:9: instantiated from ‘void boost::geometry::index::rtree::insert(const value_type&) [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator, boost::geometry::index::rtree::value_type = int]’ bla.cpp:38:21: instantiated from here ../boost/geometry/index/rtree.hpp:1212:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘root’ ../boost/geometry/index/rtree.hpp:1220:9: error: ‘struct boost::geometry::index::rtree >::members_holder’ has no member named ‘values_count’ In file included from ../boost/geometry/index/rtree.hpp:42:0, from bla.cpp:5: ../boost/geometry/index/detail/algorithms/is_valid.hpp: At global scope: ../boost/geometry/index/detail/algorithms/is_valid.hpp: In instantiation of ‘boost::geometry::index::detail::dispatch::is_valid’: ../boost/geometry/index/detail/algorithms/is_valid.hpp:74:81: instantiated from ‘bool boost::geometry::index::detail::is_valid(const Indexable&) [with Indexable = int]’ ../boost/geometry/index/rtree.hpp:1203:9: instantiated from ‘void boost::geometry::index::rtree::raw_insert(const value_type&) [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator, boost::geometry::index::rtree::value_type = int]’ ../boost/geometry/index/rtree.hpp:546:9: instantiated from ‘void boost::geometry::index::rtree::insert(const value_type&) [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator, boost::geometry::index::rtree::value_type = int]’ bla.cpp:38:21: instantiated from here ../boost/geometry/index/detail/algorithms/is_valid.hpp:45:5: error: no matching function for call to ‘assertion_failed(mpl_::failed************ (boost::geometry::index::detail::dispatch::is_valid::NOT_IMPLEMENTED_FOR_THIS_INDEXABLE::************)(boost::geometry::index::detail::dispatch::is_valid))’ ../boost/geometry/index/detail/algorithms/is_valid.hpp:45:5: note: candidate is: ../boost/mpl/assert.hpp:82:5: note: template int mpl_::assertion_failed(typename mpl_::assert::type) ../boost/geometry/index/detail/algorithms/is_valid.hpp: In function ‘bool boost::geometry::index::detail::is_valid(const Indexable&) [with Indexable = int]’: ../boost/geometry/index/rtree.hpp:1203:9: instantiated from ‘void boost::geometry::index::rtree::raw_insert(const value_type&) [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator, boost::geometry::index::rtree::value_type = int]’ ../boost/geometry/index/rtree.hpp:546:9: instantiated from ‘void boost::geometry::index::rtree::insert(const value_type&) [with Value = int, Parameters = boost::geometry::index::quadratic<16u>, IndexableGetter = boost::geometry::index::indexable, EqualTo = boost::geometry::index::equal_to, Allocator = std::allocator, boost::geometry::index::rtree::value_type = int]’ bla.cpp:38:21: instantiated from here ../boost/geometry/index/detail/algorithms/is_valid.hpp:74:81: error: ‘apply’ is not a member of ‘boost::geometry::index::detail::dispatch::is_valid