Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP C++ User Documentation

 

nothrow (3C++std) - Tru64 UNIX

Standard C++ Library

NAME

  nothrow, nothrow_t - nothrow is an object of type nothrow_t used as an
  argument to new()/delete() functions to indicate that those functions never
  throw an exception.

SYNOPSIS

  #include <new>

  namespace std {
    class nothrow_t;
    extern const nothrow_t nothrow;
  }

DESCRIPTION

  nothrow_t is of type:

    class nothrow_t {};

  nothrow_t is the type of a function argument to new()/delete() which
  indicates that the function should never throw an exception.

  nothrow is an object of type nothrow_t declared in the Standard Library
  which is passed as a function argument (matching the type nothrow_t
  parameter) to new()/delete().

SEE ALSO

  new, delete

STANDARDS CONFORMANCE

  ANSI X3J16/ISO WG21 Joint C++ Committee
About PDF files: The PDF files on this site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software on your system, you may download it from Adobe's website.
Privacy statement Using this site means you accept its terms C++ support
© 2008 Hewlett-Packard Development Company, L.P.