35 #include <boost/filesystem.hpp> 39 extern boost::filesystem::path
data_dir;
52 m_counter.fetch_add(1, std::memory_order_relaxed);
55 size_t get()
volatile const 57 return m_counter.load(std::memory_order_relaxed);
62 m_counter.store(0, std::memory_order_relaxed);
66 std::atomic<size_t> m_counter;
70 # define ASSERT_EQ_MAP(val, map, key) \ 72 auto found = map.find(key); \ 73 ASSERT_TRUE(found != map.end()); \ 74 ASSERT_EQ(val, found->second); \
boost::filesystem::path data_dir