StackOverflow Questions for Tag: new-operator

mreff555
mreff555

Reputation: 1125

Is it expected that new allocates extra space on the heap?

Score: -2

Views: 80

Answers: 0

Read More
Matthew Loveday
Matthew Loveday

Reputation: 516

Ambiguous call to operator new[] when upgrading to C++ 20

Score: 3

Views: 243

Answers: 2

Read More
user2036677
user2036677

Reputation:

Override delete operator

Score: 6

Views: 17232

Answers: 3

Read More
Saranya
Saranya

Reputation: 675

React/RCTBridgeDelegate.h' file not found

Score: 48

Views: 122818

Answers: 17

Read More
Head Geek
Head Geek

Reputation: 39878

What uses are there for "placement new"?

Score: 522

Views: 249080

Answers: 26

Read More

dynamically allocating a c++ object without using the new operator

Score: 0

Views: 141

Answers: 2

Read More
youhana
youhana

Reputation: 328

When a function is invoked with `new`, how can `this` in the body point to the newly-created object when it has not yet been assigned to a variable?

Score: 1

Views: 64

Answers: 1

Read More
A Predrag
A Predrag

Reputation: 21

Create a new column for each value in another column

Score: 1

Views: 88

Answers: 3

Read More
MajinMilad
MajinMilad

Reputation: 13

C++ deleting array on the heap

Score: -2

Views: 2732

Answers: 2

Read More
BeginnerVS2019
BeginnerVS2019

Reputation: 1

How to allocate a pointer of functions that returns a pointer to array of n elements on C++ 20

Score: 0

Views: 23

Answers: 0

Read More
do.
do.

Reputation: 617

object issues of javascript

Score: 0

Views: 76

Answers: 6

Read More
GetFree
GetFree

Reputation: 42534

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

Score: 35

Views: 7396

Answers: 2

Read More
marcus reed
marcus reed

Reputation: 7

Operators "new" and "delete" in C++

Score: -4

Views: 149

Answers: 1

Read More
sharptooth
sharptooth

Reputation: 170529

Why would a C++ compiler not eliminate null check of pointer returned by new?

Score: 9

Views: 1826

Answers: 8

Read More
Guid
Guid

Reputation: 2216

Is it useful to test the return of "new" in C++?

Score: 28

Views: 4593

Answers: 6

Read More
greenlagoon
greenlagoon

Reputation: 121

Are objects created with new guaranteed to stay in the same memory location? If so, does new place things to minimize cache misses & fragmentation?

Score: 1

Views: 160

Answers: 1

Read More
Oersted
Oersted

Reputation: 2734

Getting heap storage with proper alignment in C++ for non-overaligned type

Score: -1

Views: 102

Answers: 2

Read More
Synex
Synex

Reputation: 213

New Operator with and without Parentheses

Score: -2

Views: 104

Answers: 1

Read More
geometrian
geometrian

Reputation: 15387

How Is `operator new` Implemented At The Linker Level?

Score: 3

Views: 407

Answers: 4

Read More
David
David

Reputation: 1

How the getInstance() method works and why the "new" keyword is not used?

Score: 0

Views: 297

Answers: 1

Read More
PreviousPage 1Next