Searched defs:either (Results 1 - 2 of 2) sorted by relevance

/external/junit/src/org/junit/matchers/
H A DJUnitMatchers.java75 * This is useful for fluently combining matchers where either may pass, for example:
77 * assertThat(string, either(containsString("a")).or(containsString("b")));
80 public static <T> CombinableMatcher<T> either(Matcher<T> matcher) { method in class:JUnitMatchers
/external/clang/test/SemaCXX/
H A Ddiscrim-union.cpp67 class either { class
74 constexpr either(a<U> &&t) : function in class:either
80 //~either() { impl.destroy(elem); }
101 typedef either<int, char, double> icd;
114 constexpr either<const icd*, non_triv> icd4 = a<const icd*>(&icd2);
115 constexpr either<const icd*, non_triv> icd5 = a<non_triv>();

Completed in 58 milliseconds