MCPcopy Create free account
hub / github.com/boostorg/histogram / copy_impl

Function copy_impl

test/adaptive_storage_test.cpp:39–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38template <typename T>
39void copy_impl() {
40 const auto b = prepare<T>(1);
41 auto a(b);
42 BOOST_TEST(a == b);
43 a.increase(0);
44 BOOST_TEST(!(a == b));
45 a = b;
46 BOOST_TEST(a == b);
47 a.increase(0);
48 BOOST_TEST(!(a == b));
49 a = b;
50 a = prepare<T>(2);
51 BOOST_TEST(!(a == b));
52 a = b;
53 BOOST_TEST(a == b);
54}
55
56#ifndef BOOST_HISTOGRAM_NO_SERIALIZATION
57template <typename T>

Callers

nothing calls this directly

Calls 1

increaseMethod · 0.45

Tested by

no test coverage detected