This class is similar to std::span which uses constexpr for most member functions, theres no reason ArrayRef shouldn't be the same.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Test coverage? (possibly just modifying much of the existing testing to occur in a constexpr context, if possible)
Comment Actions
I was wondering what the best way for tests would be. Guessing static asserts is the correct way
Comment Actions
Gonna put this on postpone until we start using c++17 as many things which should be constexpr just aren't as we are using c++14