Home
last modified time | relevance | path

Searched refs:count_guard (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/boost/histogram/detail/
Dcounting_streambuf.hpp41 struct count_guard { struct
49 count_guard(bos& os, std::streamsize& s) : csb(s), p_os(&os), p_rdbuf(os.rdbuf(&csb)) {} in count_guard() argument
51 count_guard(count_guard&& o) in count_guard() argument
54 count_guard& operator=(count_guard&& o) { in operator =() argument
63 ~count_guard() { in ~count_guard() argument
69 count_guard<C, T> make_count_guard(std::basic_ostream<C, T>& os, std::streamsize& s) { in make_count_guard()
/third_party/boost/libs/spirit/classic/test/
Dgrammar_mt_tests.cpp62 struct count_guard struct
64 count_guard(int &c) : counter(c) {} in count_guard() argument
65 ~count_guard() { counter = 0; } in ~count_guard() argument
129 count_guard guard(simple_definition_count); in multiple_attempts_to_instantiate_a_definition_from_a_single_thread()
181 count_guard guard(simple_definition_count); in single_local_grammar_object_multiple_threads()
215 count_guard guard(simple_definition_count); in multiple_local_grammar_objects_multiple_threads()
247 count_guard guard(simple_definition_count); in single_global_grammar_object_multiple_threads()
281 count_guard guard(simple_definition_count); in multiple_global_grammar_objects_multiple_threads()