Add pipe control before and after buffer translation

Change-Id: I4ee32c410e1ac2bcdb3ceae203cd461de79146a5
This commit is contained in:
Kamil Diedrich
2018-12-17 15:23:35 +01:00
committed by sys_ocldev
parent c9e667d601
commit 4b1871bf0e
12 changed files with 165 additions and 20 deletions

View File

@@ -1429,6 +1429,17 @@ TEST(StackVec, Clear) {
ASSERT_EQ(0U, v2.size());
}
TEST(StackVec, ReverseBeginningFunctions) {
using VecType = StackVec<int, 1>;
VecType v;
v.push_back(5);
ASSERT_EQ(v.begin(), v.rend().base());
ASSERT_EQ(v.end(), v.rbegin().base());
ASSERT_EQ(v.begin(), v.crend().base());
ASSERT_EQ(v.end(), v.crbegin().base());
}
TEST(StackVec, ConstMemberFunctions) {
using VecType = StackVec<int, 3>;
VecType v;