There is no way. You need a default constructor for array members and it will be called, afterwards, you can do any initialization you want in the constructor.
More Related Contents:
- Rule-of-Three becomes Rule-of-Five with C++11? [closed]
- Calling virtual functions inside constructors
- Why is there no call to the constructor? [duplicate]
- Why should the copy constructor accept its parameter by reference in C++?
- Why copy constructor is not called in this case?
- Does the default constructor initialize built-in types?
- How do I call the base class constructor?
- Dual emission of constructor symbols
- Is there an implicit default constructor in C++?
- C++ template constructor
- What is constructor inheritance?
- Why shared_from_this can’t be used in constructor from technical standpoint?
- Is std::cout guaranteed to be initialized?
- Initialize parent’s protected members with initialization list (C++)
- The copy constructor and assignment operator
- Why is the copy-constructor argument const?
- Error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
- What’s the most reliable way to prohibit a copy constructor in C++?
- Why does C++ not have a const constructor?
- Calling the base class constructor from the derived class constructor
- How to use sfinae for selecting constructors?
- What Is a Curly-Brace Enclosed List If Not an intializer_list?
- “No appropriate default constructor available”–Why is the default constructor even called?
- Creating an object: with or without `new` [duplicate]
- Can I use identical names for fields and constructor parameters?
- Default parameters with C++ constructors [closed]
- Why the initializer of std::function has to be CopyConstructible?
- Is there a way to make a C++ struct value-initialize all POD member variables?
- What’s the difference between Radio r = Radio(“PSR”, 100.8) and Radio(“PSR”, 100.8)?
- Diamond Inheritance Lowest Base Class Constructor