Lines Matching refs:Throws
23 struct Throws { struct
24 Throws() : v_(0) {} in Throws() function
25 Throws(int v) : v_(v) {} in Throws() argument
26 Throws(const Throws &rhs) : v_(rhs.v_) { if (sThrows) throw 1; } in Throws() argument
27 Throws( Throws &&rhs) : v_(rhs.v_) { if (sThrows) throw 1; } in Throws() argument
28 Throws& operator=(const Throws &rhs) { v_ = rhs.v_; return *this; } in operator =() argument
29 Throws& operator=( Throws &&rhs) { v_ = rhs.v_; return *this; } in operator =() argument
35 bool Throws::sThrows = false; argument
115 Throws arr[] = {1, 2, 3}; in main()
116 std::deque<Throws> v(arr, arr+3); in main()
117 Throws::sThrows = true; in main()