---------------
Christof Meerwald@freec++.prog

home
> prog
>> freecpp
>>> delete const

translate to German (by SYSTRAN)

Delete Const Object

See 5.3.5 Delete [expr.delete], paragraph 1, of the C++ standard.

> delete_const.cpp:

int main(int argc, char *argv[])
{
  const int *i = new int(0);
  delete i;

  return 0;
}
---------------

This Web page is licensed under the Creative Commons Attribution - NonCommercial - Share Alike License. Any use is subject to the Privacy Policy.

Revision: 1.3, cmeerw.org/prog/freecpp/delete_const.html
Last modified: Mon Sep 03 18:20:50 2018
Christof Meerwald <cmeerw@cmeerw.org>
XMPP: cmeerw@cmeerw.org