Home | History | Annotate | Download | only in any.cons

Lines Matching refs:Type

33 template <class Type>
37 assert(Type::count == 0);
39 Type const t(42);
40 assert(Type::count == 1);
49 assert(Type::count == 1);
52 assert(Type::count == 0);
77 template <class Type>
79 // constructing from a small type should perform no allocations.
80 DisableAllocationGuard g(isSmallType<Type>()); ((void)g);
81 assert(Type::count == 0);
82 Type::reset();
84 Type t(42);
85 assert(Type::count == 1);
89 assert(Type::count == 2);
90 assert(Type::copied == 1);
91 assert(Type::moved == 0);
92 assertContains<Type>(a, 42);
94 assert(Type::count == 0);
95 Type::reset();
97 Type t(42);
98 assert(Type::count == 1);
102 assert(Type::count == 2);
103 assert(Type::copied == 0);
104 assert(Type::moved == 1);
105 assertContains<Type>(a, 42);