Compartir a través de


runtime_exception Class

The base type for exceptions in the C++ Accelerated Massive Parallelism (AMP) library.

class runtime_exception : public std::exception;

Members

Public Constructors

Name

Description

runtime_exception::runtime_exception Constructor

Initializes a new instance of the runtime_exception class.

runtime_exception::~runtime_exception Destructor

Destroys the runtime_exception object.

Public Methods

Name

Description

runtime_exception::get_error_code Method

Returns the error code that caused the exception.

Public Operators

Name

Description

runtime_exception::operator= Operator

Copies the contents of the specified runtime_exception object into this one.

Inheritance Hierarchy

exception

runtime_exception

Requirements

Header: amprt.h

Namespace: Concurrency

See Also

Reference

Concurrency Namespace (C++ AMP)