cxx-benchmarks/test-copy-shared-ptr.cpp

9 řádky
172 B
C++

#include <memory>
void copy_ptr(std::shared_ptr<int>& a, std::shared_ptr<int> const& b);
void move_ptr(std::shared_ptr<int>& a, std::shared_ptr<int>& b);
int main() {
}