#include "cetlib/value_ptr.h"
#include <cassert>
#include <map>
#include <memory>
#include "cetlib/compiler_macros.h"
Go to the source code of this file.
Definition at line 52 of file value_ptr_test_2.cc.
66 assert(
a->isSame(*
b) ==
false);
75 std::unique_ptr<simple>
c(
new simple(11));
76 std::unique_ptr<simple>
d(
new simple(11));
85 assert(
e.operator->() ==
pc);
95 assert(f.operator->() == pd);
103 std::map<cet::value_ptr<simple>,
int>
m;
105 #if GCC_IS_AT_LEAST(4, 8, 1) || defined(__ICC) || defined(__clang__) 113 #if GCC_IS_AT_LEAST(4, 8, 1) || defined(__ICC) || defined(__clang__)