Global STL get<IDX|TYPE>(OBJ) and set<IDX|TYPE>(OBJ,VAL) in C++

Several STL get global functions grant access by index or, since C++14, by type, for (array, span, pair, tuple, variant within their (static) sizes.):


In Boost.Geometry, boost::get<IDX> is used to access the coordinates of a point.