Searched refs:global_int (Results 1 – 2 of 2) sorted by relevance
21 int global_int; variable23 struct write_five_obj { void operator()() const { global_int = 5; } }; in operator ()()24 struct write_three_obj { int operator()() const { global_int = 3; return 7; }}; in operator ()()25 static void write_five() { global_int = 5; } in write_five()26 static void write_three() { global_int = 3; } in write_three()37 void operator()() { global_int = 2; } in operator ()()38 void operator()() const { global_int = 1; } in operator ()()67 global_int = 0; in test_zero_args()69 BOOST_CHECK(global_int == 5); in test_zero_args()80 global_int = 0; in test_zero_args()[all …]
22 int global_int; variable24 struct write_five_obj { void operator()() const { global_int = 5; } }; in operator ()()25 struct write_three_obj { int operator()() const { global_int = 3; return 7; }}; in operator ()()26 static void write_five() { global_int = 5; } in write_five()27 static void write_three() { global_int = 3; } in write_three()38 void operator()() { global_int = 2; } in operator ()()39 void operator()() const { global_int = 1; } in operator ()()68 global_int = 0; in test_zero_args()70 BOOST_CHECK(global_int == 5); in test_zero_args()81 global_int = 0; in test_zero_args()[all …]