TiledArray::Clone< Result, Arg > Class Template Reference
Inheritance diagram for TiledArray::Clone< Result, Arg >:
Collaboration diagram for TiledArray::Clone< Result, Arg >:
Documentation
template<typename Result, typename Arg>
class TiledArray::Clone< Result, Arg >
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.
- Template Parameters
-
Result The result tile type Argument The argument tile type
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 |
The documentation for this class was generated from the following file:
- TiledArray/tile_interface/clone.h