Home
last modified time | relevance | path

Searched refs:ThrowingCopyConstructor (Results 1 – 2 of 2) sorted by last modified time

/dports/devel/folly/folly-2021.12.27.00/folly/test/
H A DTryTest.cpp85 struct ThrowingCopyConstructor { in TEST() struct
87 explicit ThrowingCopyConstructor(int& counter) : counter_(counter) { in TEST() function
91 [[noreturn]] ThrowingCopyConstructor( in TEST() argument
92 const ThrowingCopyConstructor& other) noexcept(false) in TEST()
97 ThrowingCopyConstructor& operator=(const ThrowingCopyConstructor&) = delete; in TEST()
99 ~ThrowingCopyConstructor() { --counter_; } in TEST() argument
105 Try<ThrowingCopyConstructor> t1{in_place, counter}; in TEST()
106 Try<ThrowingCopyConstructor> t2{in_place, counter}; in TEST()
115 Try<ThrowingCopyConstructor> t1{in_place, counter}; in TEST()
116 Try<ThrowingCopyConstructor> t2; in TEST()
/dports/devel/folly/folly-2021.12.27.00/folly/experimental/coro/test/
H A DInlineTaskTest.cpp232 struct ThrowingCopyConstructor { in TEST_F() struct
233 FOLLY_MAYBE_UNUSED ThrowingCopyConstructor() noexcept = default; in TEST_F()
235 [[noreturn]] ThrowingCopyConstructor( in TEST_F() function
236 const ThrowingCopyConstructor&) noexcept(false) { in TEST_F()
240 ThrowingCopyConstructor& operator=(const ThrowingCopyConstructor&) = delete; in TEST_F()
243 auto f = []() -> InlineTask<ThrowingCopyConstructor> { co_return {}; }; in TEST_F()