StackOverflow Questions for Tag: object-construction

GetFree
GetFree

Reputation: 42414

Why can some constructors be called without using the `new` operator?

Score: 35

Views: 7387

Answers: 2

Read More
einpoklum
einpoklum

Reputation: 131405

Can I dynamically generate a contiguous sequence of non-default-ctorable objects which can be deleted with delete[]?

Score: 3

Views: 207

Answers: 2

Read More
Samir
Samir

Reputation: 31

how to maintain order of elements using snowflake object_construct() function instead of sorting by the keys?

Score: 3

Views: 5557

Answers: 4

Read More
einpoklum
einpoklum

Reputation: 131405

explicit deleted constructors - does this matter?

Score: 3

Views: 102

Answers: 1

Read More
einpoklum
einpoklum

Reputation: 131405

Idiom for initializing an std::array using a generator function taking the index?

Score: 7

Views: 597

Answers: 2

Read More
Weijun Zhou
Weijun Zhou

Reputation: 4896

Is it legal to initialize an array via a functor which takes the array itself as a parameter by reference?

Score: 13

Views: 1526

Answers: 3

Read More
Yuval
Yuval

Reputation: 927

Assigning an int's own address to its value

Score: 28

Views: 833

Answers: 3

Read More
einpoklum
einpoklum

Reputation: 131405

How come I can capture an object being constructed in the lambda doing the construction?

Score: 3

Views: 71

Answers: 0

Read More
Scott J
Scott J

Reputation: 25

Snowflake query to create json - multiple results for single attribute

Score: 0

Views: 211

Answers: 1

Read More
Rostys
Rostys

Reputation: 79

Constructing lambdas in constructors

Score: 0

Views: 101

Answers: 1

Read More
oz10
oz10

Reputation: 158254

Why should I prefer to use member initializer lists?

Score: 274

Views: 173698

Answers: 9

Read More
Jack M
Jack M

Reputation: 71

Using a method to create objects

Score: 1

Views: 240

Answers: 2

Read More
R26
R26

Reputation: 11

Calling multiple async operations in a C# class initializer

Score: 0

Views: 41

Answers: 0

Read More
Danilo Piazzalunga
Danilo Piazzalunga

Reputation: 7802

Mocking object construction in unit tests

Score: 0

Views: 62

Answers: 1

Read More
Techno Freak
Techno Freak

Reputation: 21

Lombok: How to define a special method which runs upon the Object construction?

Score: 0

Views: 1508

Answers: 1

Read More
Logical Fallacy
Logical Fallacy

Reputation: 3107

How can I initialize C++ class data members in the constructor?

Score: 119

Views: 253742

Answers: 5

Read More
Paebbels
Paebbels

Reputation: 16211

Why does object.__new__ accept parameters?

Score: 5

Views: 881

Answers: 1

Read More
user2953119
user2953119

Reputation:

Undertanding starting object construction process and UB

Score: 0

Views: 77

Answers: 1

Read More
Marco
Marco

Reputation: 47

Python Factory Method Suggestions

Score: 0

Views: 254

Answers: 1

Read More
Holly Wilson
Holly Wilson

Reputation: 15

How can I create new objects with user defined properties every time a function is called in JavaScript?

Score: 1

Views: 60

Answers: 1

Read More
PreviousPage 1Next