You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

23 lines
470 B

#include "benchmark-shared-unique.h"
void* forward_raw(void* p) {
return p;
}
std::unique_ptr<size_t> forward_unique(std::unique_ptr<size_t>&& p) {
return std::move(p);
}
std::shared_ptr<size_t> forward_shared(std::shared_ptr<size_t>&& p) {
return std::move(p);
}
std::unique_ptr<Large> forward_unique_large(std::unique_ptr<Large>&& p) {
return std::move(p);
}
std::shared_ptr<Large> forward_shared_large(std::shared_ptr<Large>&& p) {
return std::move(p);
}