dynarray
dynarray copied to clipboard
Test if `dynarray` instance is empty iff its underlying pointer is empty
The incentive for this is change is the following scenario - after src was moved into dst, src is actually an empty instance
TEST(FaceFeatureVecTests, MoveSemantics)
{
dynarray<float> src(128);
src.fill(42.0f);
ASSERT_FALSE(src.empty());
const auto dst = move(src);
ASSERT_TRUE(src.empty());
}