StackOverflow Questions for Tag: named-constructor

Anne Quinn
Anne Quinn

Reputation: 13000

Having named constructors while avoiding their use as a method?

Score: 1

Views: 85

Answers: 0

Read More
asimes
asimes

Reputation: 5894

Technique to force constructor calls to be easily searchable

Score: 0

Views: 82

Answers: 1

Read More
Emir
Emir

Reputation: 15

I can not create 2 constructors which one is empty while other one taking parameters in Flutter/Dart?

Score: 0

Views: 90

Answers: 1

Read More
Benjamin Sx
Benjamin Sx

Reputation: 287

Dart/Flutter remove boilerplate parameters in named constructor to reduce code size

Score: 0

Views: 391

Answers: 1

Read More
dmjy
dmjy

Reputation: 1801

What is the difference between `{}` and `Map.of()`?

Score: 0

Views: 399

Answers: 1

Read More
mpen
mpen

Reputation: 282885

How to return a class instance on the heap, when the relevant ctor is private?

Score: 4

Views: 176

Answers: 5

Read More
TryHard
TryHard

Reputation: 379

How do I check if an element was created with a named constructor in dart?

Score: 5

Views: 1228

Answers: 2

Read More
bit4fox
bit4fox

Reputation: 2121

Combining std::unique_ptr and named constructors

Score: 1

Views: 234

Answers: 1

Read More
nanocv
nanocv

Reputation: 2229

Static factory pattern with inheritance and type hints

Score: 0

Views: 539

Answers: 1

Read More
Iam Zesh
Iam Zesh

Reputation: 1847

Creating a file in a named constructor

Score: 0

Views: 367

Answers: 1

Read More
Jona
Jona

Reputation: 309

python - Initialize an empty array with named columns (and data types)

Score: 2

Views: 3395

Answers: 1

Read More
darksky
darksky

Reputation: 21019

What to return in Factory Methods?

Score: 0

Views: 158

Answers: 1

Read More
jedwards
jedwards

Reputation: 30210

Named constructors and temporary lifetime extension

Score: 2

Views: 158

Answers: 3

Read More
fledgling Cxx user
fledgling Cxx user

Reputation: 175

Templates, interfaces (multiple inheritance) and static functions (named constructors)

Score: 2

Views: 475

Answers: 2

Read More
Pooria
Pooria

Reputation: 2055

does adding a dummy parameter to constructors of a class to solve calling ambiguity, violate any rule?

Score: 3

Views: 1686

Answers: 5

Read More
Łukasz Lew
Łukasz Lew

Reputation: 50278

Named constructors in Scala?

Score: 1

Views: 666

Answers: 2

Read More
mvaz
mvaz

Reputation: 308

Problem with named constructor with istream as argument

Score: 1

Views: 912

Answers: 1

Read More
Łukasz Lew
Łukasz Lew

Reputation: 50278

Named constructor idiom and inheritance

Score: 3

Views: 925

Answers: 4

Read More
PreviousPage 1Next