[WIP] add structured binding forward declaration - #127
Conversation
83e4819 to
15eb309
Compare
| corrade_add_test(ContainersStringViewStlTest StringViewStlTest.cpp) | ||
| corrade_add_test(ContainersTripleTest TripleTest.cpp) | ||
| corrade_add_test(ContainersTripleStlTest TripleStlTest.cpp) | ||
| corrade_add_test(ContainersTupleStlTest TupleStlTest.cpp) |
There was a problem hiding this comment.
To make the tests on ancient compilers stop failing, move this inside the C++17 if() below, same place where you set the C++17 standard
3697bc1 to
f2d56f7
Compare
Codecov ReportBase: 97.96% // Head: 97.96% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #127 +/- ##
=======================================
Coverage 97.96% 97.96%
=======================================
Files 135 135
Lines 10940 10943 +3
=======================================
+ Hits 10717 10720 +3
Misses 223 223
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
Since I'm deep in the reviews already, let's unblock this too, finally (it's from February? wow 😅). As the change now boils down to What's left is that I assume you'd want to use C++17
For completeness there's also It seems like a lot of new test files, but my assumption is that there will be more and more C++14/17/20-specific features (such as your constexpr additions), and the new test files will be reused for those as well. The In case of Magnum I assume you'd want |
For types without an already-existing |
b927aa3 to
c6d8f93
Compare
c6d8f93 to
b771fe5
Compare
|
So, not going to do the specializations for other containers either? I'll convert that to an issue, then, in case it eventually becomes useful for someone else. |
|
I still plan on doing it for Pair and Triple at least, but have more pressing issues at this time. |
This commit adds
std::tuple_elementandstd::tuple_sizeforward declarations to avoid slurping in thousands of lines worth of STL headers. For unsupported STL versions,<array>is included instead.