MCPcopy Create free account
hub / github.com/VcDevel/Vc / S

Class S

tests/subscript.cpp:168–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166
167template <typename T, size_t Align = std::is_arithmetic<T>::value ? sizeof(T) : alignof(T)>
168struct alignas(Align > alignof(double) ? Align : alignof(double)) S
169{
170 void operator=(int x)
171 {
172 a = x;
173 b = x + 1;
174 c = x + 2;
175 }
176 double x0;
177 T a;
178 char x1;
179 T b;
180 short x2;
181 T c;
182 char x3;
183};
184
185TEST_TYPES(V, structGathers, AllVectors)
186{

Callers 1

constructFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected