// Author: A.Voss@FH-Aachen.de
//
// code and idea see (later)

#include <iostream>
#include <cstdlib>
#include <vector>
using namespace std;

#pragma GCC diagnostic ignored "-Wunused-variable"

struct A { };
struct B { };

class C
{
public:
	C() { }
	
	int n = 23;
};

int main()
{
    cout << endl << "start" << endl;

	C c1;			// (a)

	C c2();			// (b)	
	C c2i( A );
	C c2ii( A(), B() );
	
	C c3{};			// (c)
	int c3i{};

//	C c4(x);		// (d)
//	C c5{x};		// (e)
// 	int i1( 12.345 );	// OK, lossy
// 	int i2{ 12.345 };	// should be an error ...

//	C c6 = x;		// (f)

//	C c7 = {x};		// (g)

//	auto c8 = x;	// (h)

//	auto c9 = C{x};	// (i) 
	
	vector<int> v10( 10, 20 );	// (j)

	vector<int> v11{ 10, 20 };

    cout << "end" << endl << endl;

    return EXIT_SUCCESS;
}

