KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
new-operator
42 questions
Follow Tag
Sort by:
Newest
Votes
Active
11
votes
3
answers
size_t parameter new operator
c++
operator-overloading
new-operator
asked 2013-05-19T22:50:18.520
21
votes
2
answers
Does the alignas specifier work with 'new'?
c++
c++11
new-operator
memory-alignment
asked 2013-03-19T22:41:17.263
10
votes
1
answers
How is `new (std::nothrow)` implemented?
c++
memory-management
new-operator
asked 2013-03-08T10:34:57.843
45
votes
1
answers
Why isn't __new__ in Python new-style classes a class method?
python
new-operator
language-design
new-style-class
asked 2012-02-01T07:04:16.823
40
votes
6
answers
How do I override, not hide, a member variable (field) in a C# subclass?
c#
variables
new-operator
overriding
asked 2012-01-13T01:08:10.020
24
votes
8
answers
When is the appropriate time to use the 'new' keyword?
java
object
new-operator
asked 2012-01-06T22:32:59.753
17
votes
2
answers
What is exactly happening when instantiating with 'new'?
php
reference
new-operator
php-internals
asked 2011-12-29T13:49:53.580
62
votes
2
answers
Do smart pointers work with arrays allocated using new T[]?
c++
c++11
new-operator
smart-pointers
unique-ptr
asked 2011-07-15T21:44:16.047
9
votes
4
answers
How can I store a value at a specific location in the memory?
c++
c
memory
malloc
new-operator
asked 2011-07-12T08:04:20.783
58
votes
9
answers
How to allocate thread local storage?
c++
linux
multithreading
new-operator
thread-local-storage
asked 2011-05-16T17:50:00.790
9
votes
2
answers
thread.start_new_thread vs threading.Thread.start
python
multithreading
new-operator
asked 2011-05-04T11:01:22.527
30
votes
8
answers
int *array = new int[n]; what is this function actually doing?
c++
arrays
pointers
new-operator
asked 2011-04-25T08:16:02.860
16
votes
6
answers
Bad allocation exceptions in C++
c++
exception
mingw
new-operator
allocation
asked 2011-01-06T12:45:41.233
9
votes
5
answers
Initializing c# array with new vs. initializing with literal
c#
arrays
new-operator
asked 2010-12-05T17:32:15.643
14
votes
5
answers
What is this second new?
c++
syntax
terminology
new-operator
placement-new
asked 2010-10-18T15:12:35.330
18
votes
1
answers
Can C++0x still explicitly allocate with global operator new?
c++
c++11
new-operator
asked 2010-09-27T09:21:22.040
109
votes
4
answers
How do you 'realloc' in C++?
c++
new-operator
realloc
delete-operator
asked 2010-08-14T10:39:40.313
13
votes
2
answers
new, delete ,malloc & free
c++
memory-management
malloc
free
new-operator
asked 2010-07-06T06:57:33.957
293
votes
10
answers
Is "delete this" allowed in C++?
c++
memory-management
new-operator
delete-operator
self-destruction
asked 2010-06-30T15:45:54.683
25
votes
4
answers
Confused about "override" vs. "new" in C#
c#
virtual
overriding
new-operator
asked 2010-06-01T20:00:11.450
76
votes
6
answers
inheritance from str or int
python
string
inheritance
integer
new-operator
asked 2010-04-20T08:31:59.870
22
votes
6
answers
What is the difference between type and type.__new__ in python?
python
types
new-operator
metaclass
asked 2010-04-09T15:32:43.070
19
votes
4
answers
Why is it not possible to access the size of a new[]'d array?
c++
arrays
new-operator
delete-operator
asked 2010-03-09T00:06:54.170
16
votes
7
answers
Why can't I use virtual/override on class variables as I can on methods?
c#
oop
virtual
overriding
new-operator
asked 2010-03-04T10:16:26.870
36
votes
2
answers
operator new overloading and alignment
c++
operator-overloading
new-operator
asked 2010-03-02T21:23:22.267
11
votes
2
answers
C++ Confusion. Reading Integer From Text File. Convert to ASCII
c++
char
ascii
new-operator
int
asked 2010-02-09T15:17:00.887
125
votes
15
answers
Strings are objects in Java, so why don't we use 'new' to create them?
java
string
new-operator
asked 2010-01-05T21:30:44.287
18
votes
4
answers
Explicitly disallow heap allocation in C++
c++
heap-memory
new-operator
asked 2009-12-21T17:39:02.727
35
votes
2
answers
Why can some constructors be called without using the `new` operator?
javascript
constructor
new-operator
object-construction
asked 2009-12-18T13:56:54.317
10
votes
3
answers
Will using new (std::nothrow) mask exceptions thrown from a constructor?
c++
new-operator
asked 2009-12-09T23:39:49.407
63
votes
5
answers
Is there any reason to choose __new__ over __init__ when defining a metaclass?
python
constructor
new-operator
metaclass
init
asked 2009-12-03T15:00:54.587
98
votes
4
answers
Why don't you have to use the new keyword to create objects?
c++
new-operator
asked 2009-11-19T16:57:17.537
9
votes
3
answers
using class specific set_new_handler
c++
multithreading
operator-overloading
new-operator
asked 2009-08-26T02:06:31.880
10
votes
8
answers
Pros and cons of 'new' properties in C# / .Net?
c#
.net
properties
new-operator
asked 2009-06-03T11:49:34.487
107
votes
6
answers
What's the differences between VirtualAlloc and HeapAlloc?
winapi
memory
heap-memory
new-operator
asked 2009-05-16T09:38:41.190
11
votes
5
answers
How can I construct an object using an array of values for parameters, rather than listing them out, in JavaScript?
javascript
oop
firefox-addon
new-operator
apply
asked 2009-05-01T21:25:51.287
46
votes
2
answers
Can you inherit a sub new (Constructor) with parameters in VB?
vb.net
inheritance
constructor
new-operator
asked 2009-04-25T22:11:06.093
56
votes
4
answers
Use new keyword if hiding was intended
c#
inheritance
warnings
new-operator
asked 2009-01-16T16:32:45.880
9
votes
3
answers
Checking C# new() initialisation for null?
c#
exception
new-operator
asked 2008-12-16T13:15:15.450
431
votes
10
answers
Create an empty object in JavaScript with {} or new Object()?
javascript
arrays
object
javascript-objects
new-operator
asked 2008-10-30T19:22:44.860
64
votes
20
answers
Can you obtain the size of an array allocated with new T[]?
c++
arrays
pointers
memory-management
new-operator
asked 2008-10-13T14:50:36.593
629
votes
20
answers
In what cases do I use malloc and/or new?
c++
memory-management
malloc
new-operator
asked 2008-10-08T19:47:55.090