Advanced Multi-Physics (AMP)
On-Line Documentation
CopyCastHelper.h
Go to the documentation of this file.
1#ifndef included_AMP_CopyCastHelper_H_
2#define included_AMP_CopyCastHelper_H_
3
4#include "AMP/utils/Memory.h"
5#include "AMP/utils/Utilities.h"
6
7#include <iostream>
8#include <memory>
9
10namespace AMP::Utilities {
11
19template<typename T1, typename T2, AMP::Utilities::Backend, class MemoryType>
20struct copyCast_ {
21 static void apply( const size_t, const T1 *, T2 * ) { AMP_ERROR( "Not implemented" ); }
22};
23
24} // namespace AMP::Utilities
25
26#endif
#define AMP_ERROR(MSG)
Throw error.
static void apply(const size_t, const T1 *, T2 *)



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:41.
Comments on this page