Searched refs:TChild (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/third_party/externals/dawn/src/common/ |
D | Result.h | 123 template <typename TChild> 124 Result(Result<TChild*, E>&& other); 125 template <typename TChild> 126 Result<T*, E>& operator=(Result<TChild*, E>&& other); 308 template <typename TChild> 309 Result<T*, E>::Result(Result<TChild*, E>&& other) : mPayload(other.mPayload) { in Result() argument 311 static_assert(std::is_same<T, TChild>::value || std::is_base_of<T, TChild>::value, ""); in Result() 315 template <typename TChild> 316 Result<T*, E>& Result<T*, E>::operator=(Result<TChild*, E>&& other) { 318 static_assert(std::is_same<T, TChild>::value || std::is_base_of<T, TChild>::value, "");
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | ResultTests.cpp | 182 struct TChild : T {}; in TEST() struct 184 TChild child; in TEST() 191 Result<TChild*, int> resultChild(&child); in TEST() 196 Result<TChild*, int> resultChild(&child); in TEST()
|