Home
last modified time | relevance | path

Searched refs:type_assigned (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dconst_optional_U.pass.cpp57 static int type_assigned; member
63 type_assigned = int_assigned = 0; in reset()
69 AssignableFrom& operator=(T) { ++type_assigned; return *this; } in operator =()
79 template <class T> int AssignableFrom<T>::type_assigned = 0; member in AssignableFrom<T>
157 assert(T::type_assigned == 0); in test_ambigious_assign()
166 assert(T::type_assigned == 1); in test_ambigious_assign()
175 assert(T::type_assigned == 1); in test_ambigious_assign()
188 assert(T::type_assigned == 0); in test_ambigious_assign()
Doptional_U.pass.cpp62 static int type_assigned; member
68 type_assigned = int_assigned = 0; in reset()
74 AssignableFrom& operator=(T) { ++type_assigned; return *this; } in operator =()
84 template <class T> int AssignableFrom<T>::type_assigned = 0; member in AssignableFrom<T>
162 assert(T::type_assigned == 0); in test_ambigious_assign()
181 assert(T::type_assigned == 0); in test_ambigious_assign()
191 assert(T::type_assigned == 0); in test_ambigious_assign()