• Home
  • Raw
  • Download

Lines Matching refs:Person

133 class Person  class
136 Person() {} in Person() function in Person
137 Person(const char *n) : name(n) {} in Person() function in Person
163 void do_set_name(Person *p, const std::string &name) in do_set_name()
168 void do_set_name_ref(Person &p, const std::string &name) in do_set_name_ref()
176 std::vector<Person> v1; in main()
182 const std::vector<Person> cv1(v1.begin(), v1.end()); in main()
190 Person person; in main()
191 Person &r = person; in main()
193 Person fred("Fred"); in main()
194 Person wilma("Wilma"); in main()
195 Person barney("Barney"); in main()
196 Person betty("Betty"); in main()
197 std::vector<Person*> v3; in main()
203 const std::vector<Person*> cv3(v3.begin(), v3.end()); in main()
204 std::vector<const Person*> v3c(v3.begin(), v3.end()); in main()
217 boost::not1(boost::mem_fun_ref(&Person::is_fred))); in main()
272 boost::mem_fun(&Person::get_name)); in main()
277 boost::mem_fun(&Person::get_name)); in main()
282 boost::mem_fun(&Person::get_name)); in main()
288 boost::mem_fun_ref(&Person::get_name)); in main()
293 boost::mem_fun_ref(&Person::get_name)); in main()
298 std::for_each(v3.begin(), v3.end(), boost::bind2nd(boost::mem_fun(&Person::print), std::cout)); in main()
301 std::for_each(v3.begin(), v3.end(), boost::bind2nd(boost::mem_fun(&Person::print), os)); in main()
305 …std::for_each(v1.begin(), v1.end(), boost::bind2nd(boost::mem_fun_ref(&Person::print), std::cout)); in main()
308 std::for_each(v1.begin(), v1.end(), boost::bind2nd(boost::mem_fun_ref(&Person::print), os)); in main()
312 std::for_each(v2.begin(), v2.end(), boost::bind1st(boost::mem_fun(&Person::set_name), &person)); in main()
316 …std::for_each(v2.begin(), v2.end(), boost::bind1st(boost::mem_fun_ref(&Person::set_name), person)); in main()
319 std::for_each(v2.begin(), v2.end(), boost::bind1st(boost::mem_fun_ref(&Person::set_name), r)); in main()
325 boost::mem_fun(&Person::clear_name)); in main()
330 boost::mem_fun_ref(&Person::clear_name)); in main()