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

home
> prog
>> freecpp
>>> explicit

translate to German (by SYSTRAN)

Explicit Keyword

See 12.3.1 "Conversion by constructor" [class.conv.ctor], paragraph 2, of the C++ standard.

Also see explicit: Designating nonconverting constructors @ corfield.org.

> explicit.cpp:

struct A
{
  explicit A(int a)
  { }
};


int main()
{
  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.4, cmeerw.org/prog/freecpp/explicit.html
Last modified: Mon Sep 03 18:20:50 2018
Christof Meerwald <cmeerw@cmeerw.org>
XMPP: cmeerw@cmeerw.org