Make std::get constexpr. This affects std::array (which needs some changes), std::pair, and std::tuple. Includes tests for array and pair.
No tests for tuple yet, because while get(tuple) is marked as constexpr, it isn't really - yet. This is not a problem because, tuple's constructors (and make_tuple) aren't constexpr either - yet. Fixing both of those will be step #4. -- Marshall Marshall Clow Idio Software <mailto:[email protected]> A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki
get-constexpr.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
