TiledArray
0.7.0
|
Create a deep copy of a tile. More...
#include <clone.h>
Additional Inherited Members | |
Public Types inherited from TiledArray::tile_interface::Clone< Result, Arg > | |
typedef Result | result_type |
Result tile type. More... | |
typedef Arg | argument_type |
Argument tile type. More... | |
Public Member Functions inherited from TiledArray::tile_interface::Clone< Result, Arg > | |
result_type | operator() (const argument_type &arg) const |
Create a deep copy of a tile.
This operation creates a deep copy of a tile. The copy operation may optionally perform a clone or cast operation. If the Result
and Arg
types are the same, the argument tile is copied using the clone()
operation is performed, otherwise the argument tile is cast to the Result
type using the TiledArray::Cast<Result, Arg>
functor.
Result | The result tile type |
Argument | The argument tile type |