Searched refs:Nasty (Results 1 – 6 of 6) sorted by relevance
40 struct Nasty struct42 Nasty() : i_ ( counter_++ ) {} in Nasty() argument43 Nasty * operator &() const { return NULL; } in operator &() argument48 int Nasty::counter_ = 0; argument78 char pool[N*sizeof(Nasty)] = {0}; in main()79 Nasty* bp = (Nasty*)pool; in main()81 Nasty::counter_ = 23; in main()82 std::uninitialized_fill_n(bp, N, Nasty()); in main()
41 struct Nasty struct43 Nasty() : i_ ( counter_++ ) {} in Nasty() argument44 Nasty * operator &() const { return NULL; } in operator &() argument49 int Nasty::counter_ = 0; argument77 char pool[N*sizeof(Nasty)] = {0}; in main()78 Nasty* bp = (Nasty*)pool; in main()80 Nasty::counter_ = 23; in main()81 std::uninitialized_fill(bp, bp+N, Nasty()); in main()
20 struct Nasty { struct21 Nasty() : i_(0) {} in Nasty() function22 Nasty(int i) : i_(i) {} in Nasty() argument23 ~Nasty() {} in ~Nasty() argument25 Nasty * operator&() const { assert(false); return nullptr; } in operator &() argument42 std::vector<Nasty> v(100); in main() argument58 std::vector<Nasty, min_allocator<Nasty>> v(100); in main()
20 struct Nasty { struct21 Nasty() : i_(0) {} in Nasty() argument22 Nasty(int i) : i_(i) {} in Nasty() argument23 ~Nasty() {} in ~Nasty() argument25 Nasty * operator&() const { assert(false); return nullptr; } in operator &() argument42 std::vector<Nasty> v(100); in main() argument58 std::vector<Nasty, min_allocator<Nasty>> v(100); in main()
41 struct Nasty struct43 Nasty() : i_ ( counter_++ ) {} in Nasty() function44 Nasty * operator &() const { return NULL; } in operator &() argument49 int Nasty::counter_ = 0; argument79 char pool[sizeof(Nasty)*N] = {0}; in main()80 Nasty * p = (Nasty *) pool; in main()81 Nasty arr[N]; in main()
41 struct Nasty struct43 Nasty() : i_ ( counter_++ ) {} in Nasty() argument44 Nasty * operator &() const { return NULL; } in operator &() argument49 int Nasty::counter_ = 0; argument79 char pool[sizeof(Nasty)*N] = {0}; in main()80 Nasty * p = (Nasty *) pool; in main()81 Nasty arr[N]; in main()