This operation class is used for copying the object generically.
More...
#include "timemory/operations/types/copy.hpp"
|
| copy (Tp &obj, const Tp &rhs) |
|
| copy (Tp *&obj, const Tp *rhs) |
|
| copy (Tp *&obj, const std::shared_ptr< Tp > &rhs) |
|
| copy (Tp *&obj, const std::unique_ptr< Tp > &rhs) |
|
template<typename Up = Tp> |
auto | operator() (Tp &obj, Up &&v) const |
|
template<typename Up = Tp> |
auto | operator() (Tp *&obj, Up &&v) const |
|
template<
typename Tp>
struct tim::operation::copy< Tp >
This operation class is used for copying the object generically.
Definition at line 54 of file copy.hpp.
◆ type
◆ copy() [1/4]
◆ copy() [2/4]
◆ copy() [3/4]
Definition at line 62 of file copy.hpp.
62{ (*this)(obj, rhs.get()); }
◆ copy() [4/4]
Definition at line 63 of file copy.hpp.
63{ (*this)(obj, rhs.get()); }
◆ operator()() [1/2]
Definition at line 66 of file copy.hpp.
68 return sfinae(obj, std::forward<Up>(v));
◆ operator()() [2/2]
Definition at line 72 of file copy.hpp.
74 return sfinae(obj, std::forward<Up>(v));
The documentation for this struct was generated from the following files: